summaryrefslogtreecommitdiff
path: root/notes.c
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-03-18 15:03:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-20 14:27:55 (GMT)
commita502ab93339adeef014e1d95cb8f2520379a8651 (patch)
tree111c697f42b9851713b954afa457abf5a6b46f7f /notes.c
parentf1ba1c90e1704e937ff59ee510a8d46a5ab52a1a (diff)
downloadgit-a502ab93339adeef014e1d95cb8f2520379a8651.zip
git-a502ab93339adeef014e1d95cb8f2520379a8651.tar.gz
git-a502ab93339adeef014e1d95cb8f2520379a8651.tar.bz2
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>
Diffstat (limited to 'notes.c')
-rw-r--r--notes.c2
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,