Skip to content

Commit 5b5c9c3

Browse files
asedenogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7ca260a commit 5b5c9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ref-filter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static void objectname_atom_parser(struct used_atom *atom, const char *arg)
220220

221221
static void refname_atom_parser(struct used_atom *atom, const char *arg)
222222
{
223-
return refname_atom_parser_internal(&atom->u.refname, arg, atom->name);
223+
refname_atom_parser_internal(&atom->u.refname, arg, atom->name);
224224
}
225225

226226
static align_type parse_align_position(const char *s)

0 commit comments

Comments
 (0)