summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 384b32c)
raw | patch | inline | side by side (parent: 384b32c)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Dec 2007 01:04:11 +0000 (17:04 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Dec 2007 11:40:12 +0000 (03:40 -0800) |
The empty loop pretended to have an empty statement as its body by a
phony indentation, but in fact was slurping the next statement into it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
phony indentation, but in fact was slurping the next statement into it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
mailmap.c | patch | blob | history |
diff --git a/mailmap.c b/mailmap.c
index 87141670595c50a4fa7b87a12b85ff0e2b7da8af..f0172552e4c42c1526e2395802a41070d43cadae 100644 (file)
--- a/mailmap.c
+++ b/mailmap.c
continue;
if (right_bracket == left_bracket + 1)
continue;
- for (end_of_name = left_bracket; end_of_name != buffer
- && isspace(end_of_name[-1]); end_of_name--)
- /* keep on looking */
+ for (end_of_name = left_bracket;
+ end_of_name != buffer && isspace(end_of_name[-1]);
+ end_of_name--)
+ ; /* keep on looking */
if (end_of_name == buffer)
continue;
name = xmalloc(end_of_name - buffer + 1);