diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2006-04-17 17:14:48 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-18 00:06:25 +0200 |
commit | ecc13e73cf96cb14e2403be6538593a167d7ea23 (patch) | |
tree | 37071a2fb51de75134092f4690da7e122f7fefb1 /quote.c | |
parent | cleanups: Remove unused vars from combine-diff.c (diff) | |
download | git-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.xz git-ecc13e73cf96cb14e2403be6538593a167d7ea23.zip |
cleanups: Remove impossible case in quote.c
The switch is inside an if statement which is false if
the character is ' '. Either the if should be <=' '
instead of <' ', or the case should be removed as it could
be misleading.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'quote.c')
-rw-r--r-- | quote.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -144,8 +144,6 @@ static int quote_c_style_counted(const char *name, int namelen, case '\\': /* fallthru */ case '"': EMITQ(); break; - case ' ': - break; default: /* octal */ EMITQ(); |