glsl: Remove extraneously extraneous parens
authorChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 09:40:51 +0000 (01:40 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 27 Jan 2011 00:37:45 +0000 (16:37 -0800)
I found this parenthetical usage of parentheses to be extraneously
extraneous:
   (yyextra->ARB_fragment_coord_conventions_enable)

src/glsl/glsl_lexer.lpp

index 555bc1f885474c707d7baa3d10d2244129fb7703..4d6866390d6638d3e52af2c258ffbfa7c26150f4 100644 (file)
@@ -254,7 +254,7 @@ layout              {
                  if ((yyextra->language_version >= 140)
                      || yyextra->AMD_conservative_depth_enable
                      || yyextra->ARB_explicit_attrib_location_enable
-                     || (yyextra->ARB_fragment_coord_conventions_enable)){
+                     || yyextra->ARB_fragment_coord_conventions_enable) {
                      return LAYOUT_TOK;
                   } else {
                      yylval->identifier = strdup(yytext);