From: Serge E. Hallyn Date: Mon, 17 Apr 2006 15:14:48 GMT Subject: [PATCH 4/7] cleanups: Remove impossible case in quote.c Message-ID: <20060417151448.0EE0F19B911@sergelap.hallyn.com> In-Reply-To: <20060417145148.2F3CB19C90D@sergelap.hallyn.com> 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 --- quote.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) 86bdfea7f2e88ed01869f370574420a6de3359d7 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 c case '\\': /* fallthru */ case '"': EMITQ(); break; - case ' ': - break; default: /* octal */ EMITQ(); -- 1.2.5