Author: marek
Date: 2006-09-23 14:43:01 -0400 (Sat, 23 Sep 2006)
New Revision: 65836
Modified:
trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
trunk/mcs/class/System/System.Net.Configuration/NetConfigurationHandler.cs
trunk/mcs/class/System/System.Net/WebConnection.cs
Log:
Warnings.
Modified: trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
===================================================================
--- trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
2006-09-23 18:41:27 UTC (rev 65835)
+++ trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
2006-09-23 18:43:01 UTC (rev 65836)
@@ -201,9 +201,11 @@
Hashtable factories;
Hashtable pending;
string fileName;
- static object removedMark = new object ();
- static object groupMark = new object ();
- static object emptyMark = new object ();
+ static object removedMark = new object ();
+ static object emptyMark = new object ();
+#if (XML_DEP)
+ static object groupMark = new object ();
+#endif
Hashtable cache;
Hashtable FileCache {
Modified: trunk/mcs/class/System/System.Net/WebConnection.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebConnection.cs 2006-09-23 18:41:27 UTC
(rev 65835)
+++ trunk/mcs/class/System/System.Net/WebConnection.cs 2006-09-23 18:43:01 UTC
(rev 65836)
@@ -805,7 +805,7 @@
try {
nstream.EndWrite (result);
return true;
- } catch (Exception e) {
+ } catch {
status = WebExceptionStatus.SendFailure;
return false;
}
Modified:
trunk/mcs/class/System/System.Net.Configuration/NetConfigurationHandler.cs
===================================================================
--- trunk/mcs/class/System/System.Net.Configuration/NetConfigurationHandler.cs
2006-09-23 18:41:27 UTC (rev 65835)
+++ trunk/mcs/class/System/System.Net.Configuration/NetConfigurationHandler.cs
2006-09-23 18:43:01 UTC (rev 65836)
@@ -89,7 +89,7 @@
config.MaxResponseHeadersLength = val;
}
- } catch (Exception e) {
+ } catch {
HandlersUtil.ThrowException
("Invalid int value", child);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches