aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2006-04-17 10:14:48 -0500
committerJunio C Hamano <junkio@cox.net>2006-04-17 15:06:25 -0700
commitecc13e73cf96cb14e2403be6538593a167d7ea23 (patch)
tree37071a2fb51de75134092f4690da7e122f7fefb1
parent310f8b5b6d17d805cb9a59a20ba747d5f093604a (diff)
downloadgit-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.gz
git-ecc13e73cf96cb14e2403be6538593a167d7ea23.tar.xz
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>
-rw-r--r--quote.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/quote.c b/quote.c
index 7218a7080..06792d47c 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();