diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2006-04-17 10:14:48 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-17 15:06:25 -0700 |
commit | ecc13e73cf96cb14e2403be6538593a167d7ea23 (patch) | |
tree | 37071a2fb51de75134092f4690da7e122f7fefb1 /quote.c | |
parent | 310f8b5b6d17d805cb9a59a20ba747d5f093604a (diff) | |
download | git-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.gz |
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(); |