]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Clang is so anal
[xonotic/gmqcc.git] / 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)) {