From 95be2c81be343f74d11e24297d51aa7f526a0b09 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 1 Aug 2009 18:25:31 +0000 Subject: [PATCH] Code cleanup --- src/parser.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/parser.c b/src/parser.c index 0e1cc17..4066f53 100644 --- a/src/parser.c +++ b/src/parser.c @@ -425,11 +425,8 @@ static int _cpp_callback_whitespace(Parser * parser, Token * token, int c, return 0; } token_set_string(token, " "); - if(cpp->queue_code != CPP_CODE_NULL) - { - if(cpp->queue_string != NULL) - string_append(&cpp->queue_string, " "); - } + if(cpp->queue_code != CPP_CODE_NULL && cpp->queue_string != NULL) + string_append(&cpp->queue_string, " "); return 0; }