diff options
-rw-r--r-- | builtin-apply.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin-apply.c b/builtin-apply.c index 59917379f9..f8f5eebd2f 100644 --- a/builtin-apply.c +++ b/builtin-apply.c @@ -606,9 +606,7 @@ static char *git_header_name(char *line, int llen) * form. */ for (len = 0 ; ; len++) { - char c = name[len]; - - switch (c) { + switch (name[len]) { default: continue; case '\n': |