From: Serge E. Hallyn Date: Mon, 17 Apr 2006 15:14:48 +0000 (-0500) Subject: cleanups: Remove impossible case in quote.c X-Git-Tag: v1.3.0~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ecc13e73cf96cb14e2403be6538593a167d7ea23;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/quote.c b/quote.c index 7218a708..06792d47 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();