From: Brandon Casey Date: Thu, 18 Mar 2010 14:50:37 GMT Subject: [PATCH] notes.c: don't call 'return' in a void function Message-ID: From: Brandon Casey Signed-off-by: Brandon Casey --- notes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notes.c b/notes.c index a4f9926..07941b7 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, -- 1.6.6.2