Author: marek
Date: 2008-01-25 13:15:21 -0500 (Fri, 25 Jan 2008)
New Revision: 93937
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/report.cs
Log:
2008-01-25 Marek Safar <[EMAIL PROTECTED]>
* report.cs: Correctly reset warnings count after probing.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2008-01-25 18:12:20 UTC (rev 93936)
+++ trunk/mcs/mcs/ChangeLog 2008-01-25 18:15:21 UTC (rev 93937)
@@ -1,3 +1,7 @@
+2008-01-25 Marek Safar <[EMAIL PROTECTED]>
+
+ * report.cs: Correctly reset warnings count after probing.
+
2008-01-25 Martin Baulig <[EMAIL PROTECTED]>
* namespace.cs
Modified: trunk/mcs/mcs/report.cs
===================================================================
--- trunk/mcs/mcs/report.cs 2008-01-25 18:12:20 UTC (rev 93936)
+++ trunk/mcs/mcs/report.cs 2008-01-25 18:15:21 UTC (rev 93937)
@@ -140,6 +140,8 @@
{
if (warning_stack != null)
Warnings = (int) warning_stack.Pop ();
+ else
+ Warnings = 0;
Errors = (int) error_stack.Pop ();
if (error_stack.Count == 0) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches