]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
fixing a stupid typo - why doesn't any compiler warn about this crap
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 09:12:45 +0000 (10:12 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 11 Nov 2012 09:12:45 +0000 (10:12 +0100)
parser.c

index 2a5ba76d20528815293d378417f9424ed4f99fcc..72fa486ca0f07020f3dce7a568faf34739855f9b 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -2219,7 +2219,7 @@ static bool parse_function_body(parser_t *parser, ast_value *var)
             }
             ve[e].var = NULL; /* collected */
         }
-        if (e != e) {
+        if (e != 3) {
             parser->locals -= e;
             do {
                 mem_d(ve[e].name);