summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2006-04-17 15:14:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-17 22:06:25 (GMT)
commitecc13e73cf96cb14e2403be6538593a167d7ea23 (patch)
tree37071a2fb51de75134092f4690da7e122f7fefb1 /quote.c
parent310f8b5b6d17d805cb9a59a20ba747d5f093604a (diff)
downloadgit-ecc13e73cf96cb14e2403be6538593a167d7ea23.zip
git-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.gz
git-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.bz2
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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/quote.c b/quote.c
index 7218a70..06792d4 100644
--- a/quote.c
+++ b/quote.c
@@ -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();