On 09/16/2015 08:02 AM, Nathan Sidwell wrote:
+      else if (warn_multiple_inheritance)
+       warning (OPT_Wmultiple_inheritance,
+                "%qT defined with multiple direct bases", ref);

You don't need to guard the warning with a check of the warning flag; warning will only give the warning if the option is enabled.

Jason

Reply via email to