]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Clang is so anal
authorDale Weiler <killfieldengine@gmail.com>
Tue, 15 Oct 2013 01:03:24 +0000 (21:03 -0400)
committerDale Weiler <killfieldengine@gmail.com>
Tue, 15 Oct 2013 01:03:24 +0000 (21:03 -0400)
ast.c

diff --git a/ast.c b/ast.c
index cf03e017d9c418a959c838a74387c73c14e815ad..cef33bd73889ca3216d73d54740249fecf174c6f 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -529,7 +529,7 @@ ast_unary* ast_unary_new(lex_ctx_t ctx, int op,
         ast_unary *prev = (ast_unary*)((ast_unary*)expr)->operand;
 
         /* Handle for double negation */
-        if ((((ast_unary*)expr)->op == op))
+        if (((ast_unary*)expr)->op == op)
             prev = (ast_unary*)((ast_unary*)expr)->operand;
 
         if (ast_istype(prev, ast_unary)) {