@matheusbsbs / matheus-bagliano / commits / a502ab9333
Fork 0

notes.c: remove inappropriate call to return

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Acked-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Mar 18, 2010 at 10:03 UTC a502ab93339adeef014e1d95cb8f2520379a8651
1 file changed +1 -1
notes.c
+1 -1
@@ -893,7 +893,7 @@ void remove_note(struct notes_tree *t, const unsigned char *object_sha1)
893 assert(t->initialized);
894 hashcpy(l.key_sha1, object_sha1);
895 hashclr(l.val_sha1);
896 - return note_tree_remove(t, t->root, 0, &l);
896 + note_tree_remove(t, t->root, 0, &l);
897 }
898
899 const unsigned char *get_note(struct notes_tree *t,