diff options
author | Alejandro R. Sedeño <asedeno@mit.edu> | 2017-07-10 22:03:03 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-10 22:34:51 +0300 |
commit | 5b5c9c3e19eb6afcb987093c705bb5e2e80a63ae (patch) | |
tree | dcd893d31b66d486f8677bc7d688b53b6770985f /ref-filter.c | |
parent | 7ca260abfeab45a651f0cf58864a3a02da76cd1f (diff) |
ref-filter.c: drop return from void function
Sun's C compiler errors out on this pattern:
void foo() { ... }
void bar() { return foo(); }
Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
-rw-r--r-- | ref-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c index f4c6823727..238888e4de 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -220,7 +220,7 @@ static void objectname_atom_parser(struct used_atom *atom, const char *arg) static void refname_atom_parser(struct used_atom *atom, const char *arg) { - return refname_atom_parser_internal(&atom->u.refname, arg, atom->name); + refname_atom_parser_internal(&atom->u.refname, arg, atom->name); } static align_type parse_align_position(const char *s) |