From a502ab93339adeef014e1d95cb8f2520379a8651 Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Thu, 18 Mar 2010 10:03:43 -0500 Subject: [PATCH] notes.c: remove inappropriate call to return Signed-off-by: Brandon Casey Acked-by: Johan Herland Signed-off-by: Junio C Hamano --- notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes.c b/notes.c index a4f9926d4..07941b723 100644 --- 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, -- 2.26.2