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>
This commit is contained in:
parent
f1ba1c90e1
commit
a502ab9333
2
notes.c
2
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,
|
||||
|
Loading…
Reference in New Issue
Block a user