Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
ref-filter.c: drop return from void function
author
Alejandro R. Sedeño
<asedeno@mit.edu>
Mon, 10 Jul 2017 19:03:03 +0000
(15:03 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 10 Jul 2017 19:34:51 +0000
(12:34 -0700)
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>
ref-filter.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7ca260a
)
diff --git
a/ref-filter.c
b/ref-filter.c
index f4c68237275d49af3f1665f40788bc8287e3f879..238888e4de342c601b26650251a235ffeb3190f2 100644
(file)
--- 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)
{
- re
turn re
fname_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)