From f4a566fc7f7bd0e9bbbe01c7341150ba3c12a03f Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 12 Apr 2014 04:50:02 +0200 Subject: Fixed some compiler/analyzer warnings. - Sanitized some macros (they weren't going to cause problems, but better being safe than sorry) - Parenthesized an incorrect expression in 6f6a6b3. - Inverted an if(foo); else bar; statement in 6f6a6b3 to get rid of the empty expression (for legibility). - Commented out some unnecessary lines as suggested by clang's static analyzer. Signed-off-by: Haru --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index 9e41bdca3..a423e6973 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5808,7 +5808,7 @@ int do_init(int argc, char *argv[]) if (load_extras) { aFree(load_extras); load_extras = NULL; - load_extras_count = 0; + //load_extras_count = 0; // Dead store. Uncomment if needed again. } if( minimal ) { -- cgit v1.2.3-60-g2f50