Code

notes.c: remove inappropriate call to return
authorBrandon Casey <drafnel@gmail.com>
Thu, 18 Mar 2010 15:03:43 +0000 (10:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Mar 2010 14:27:55 +0000 (07:27 -0700)
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>
notes.c

diff --git a/notes.c b/notes.c
index a4f9926d4dfc8e8d4ba051714446517b9074fc05..07941b72352167fac9ce1b69f59cf377294a3c33 100644 (file)
--- a/notes.c
+++ b/notes.c
@@ -893,7 +893,7 @@ void remove_note(struct notes_tree *t, const unsigned char *object_sha1)
        assert(t->initialized);
        hashcpy(l.key_sha1, object_sha1);
        hashclr(l.val_sha1);
-       return note_tree_remove(t, t->root, 0, &l);
+       note_tree_remove(t, t->root, 0, &l);
 }
 
 const unsigned char *get_note(struct notes_tree *t,