]> git.saurik.com Git - bison.git/blobdiff - src/complain.c
style changes
[bison.git] / src / complain.c
index 933b402c9e9ed0743bb33aadf74348fef4290c8c..a84718bef001b66c77b6ac8c1c580eec4dd1201a 100644 (file)
@@ -115,10 +115,8 @@ complains (const location *loc, warnings flags, const char *message,
           error_message (loc, flags, _("warning"), message, args);
         }
     }
-  else
+  else if (warnings_flag & flags)
     {
-      if (! (warnings_flag & flags))
-        return;
       set_warning_issued ();
       error_message (loc, flags, _("warning"), message, args);
     }