Author: uma
Date: 2005-07-07 00:33:21 -0400 (Thu, 07 Jul 2005)
New Revision: 47023
Modified:
trunk/mcs/mbas/ChangeLog
trunk/mcs/mbas/statement.cs
Log:
statement.cs - suppressing warnings due to unused variables in mbas compile
(this is a quick patch, need to see if we can not emit these variables at all)
Modified: trunk/mcs/mbas/ChangeLog
===================================================================
--- trunk/mcs/mbas/ChangeLog 2005-07-07 01:39:31 UTC (rev 47022)
+++ trunk/mcs/mbas/ChangeLog 2005-07-07 04:33:21 UTC (rev 47023)
@@ -1,3 +1,6 @@
+2005-07-06 Umadevi S <[EMAIL PROTECTED]>
+ * statement.cs - suppressing warnings due to unused variables in mbas
compiler.
+
2005-07-05 Umadevi S <[EMAIL PROTECTED]>
* expression.cs - added support to handle DBNull
Modified: trunk/mcs/mbas/statement.cs
===================================================================
--- trunk/mcs/mbas/statement.cs 2005-07-07 01:39:31 UTC (rev 47022)
+++ trunk/mcs/mbas/statement.cs 2005-07-07 04:33:21 UTC (rev 47023)
@@ -3492,10 +3492,10 @@
219, vi.Location, "The
variable '" + name +
"' is assigned but its
value is never used");
} else {
+ if
(!(name.Equals(lateBindingArgs)||name.Equals(lateBindingArgNames)||name.Equals(lateBindingCopyBack)))
Report.Warning (
168, vi.Location, "The
variable '" +
- name +
- "' is declared but
never used");
+ name +"' is declared
but never used");
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches