Browse Source

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>
maint
Brandon Casey 15 years ago committed by Junio C Hamano
parent
commit
a502ab9333
  1. 2
      notes.c

2
notes.c

@ -893,7 +893,7 @@ void remove_note(struct notes_tree *t, const unsigned char *object_sha1) @@ -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…
Cancel
Save