2004-01-27 Nick Drochak <ndrochak@ieee.org>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 27 Jan 2004 14:28:18 +0000 (14:28 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 27 Jan 2004 14:28:18 +0000 (14:28 -0000)
* DigestClient.cs:
* HttpWebRequest.cs:
* IPv6Address.cs:
* WebClient.cs:
* WebConnection.cs:
* WebConnectionStream.cs: Remove unused variables thus eliminating some
build warnings.

svn path=/trunk/mcs/; revision=22538

mcs/class/System/System.Net/ChangeLog
mcs/class/System/System.Net/DigestClient.cs
mcs/class/System/System.Net/HttpWebRequest.cs
mcs/class/System/System.Net/IPv6Address.cs
mcs/class/System/System.Net/WebClient.cs
mcs/class/System/System.Net/WebConnection.cs
mcs/class/System/System.Net/WebConnectionStream.cs

index 72338fda5869293b466761042076b28d43d3b01d..f924908f3a07ad240358b4ffb059b77fc3da84f7 100644 (file)
@@ -1,3 +1,15 @@
+2004-01-27  Nick Drochak <ndrochak@ieee.org>
+
+       * DigestClient.cs:
+       * HttpWebRequest.cs:
+       * IPv6Address.cs:
+       * WebClient.cs:
+       * WebConnection.cs:
+       * WebConnectionStream.cs: Remove unused variables thus eliminating some
+       build warnings.
+
+
+
 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
index fe137c7bd46658bd40c00539ad5c60961cb59f1c..898fb11c4cfc1d15c7cf77b42958d121f19e21a3 100644 (file)
@@ -39,7 +39,6 @@ namespace System.Net
                string header;
                int length;
                int pos;
-               string realm, opaque, nonce, algorithm;
                static string [] keywords = { "realm", "opaque", "nonce", "algorithm", "qop" };
                string [] values = new string [keywords.Length];
 
index 3d6d98673b56be59617a40830ce4c4a83d06b22d..05d04a2a1cfa9fed823dd706150d7a9143ad1901 100644 (file)
@@ -48,14 +48,12 @@ namespace System.Net
                bool preAuthenticate;
                Version version = HttpVersion.Version11;
                IWebProxy proxy;
-               bool manualProxy;
                bool sendChunked;
                ServicePoint servicePoint;
                int timeout = 100000;
                
                WebConnectionStream writeStream;
                HttpWebResponse webResponse;
-               AutoResetEvent requestEndEvent;
                WebAsyncResult asyncWrite;
                WebAsyncResult asyncRead;
                EventHandler abortHandler;
index 3f3a1cc920ead23195b67f6eb97be7ef9d0f1d05..c7a136821866652568e46e24502dd80d5b51f301 100644 (file)
@@ -250,7 +250,6 @@ namespace System.Net {
                /// </summary>\r
                public override string ToString ()\r
                {\r
-                       bool bZeroUsed = false;\r
                        StringBuilder s = new StringBuilder ();\r
 \r
 \r
index e27c80afc5c1e03770141fad8e10921f39713c7d..ca424855e3ffefb5c669487e150c12b6e65d8bd1 100644 (file)
@@ -295,7 +295,7 @@ namespace System.Net
                                try {\r
                                        return new Uri (path);\r
                                }\r
-                               catch (System.UriFormatException ufe) {\r
+                               catch (System.UriFormatException) {\r
                                        if ((path[0] == Path.DirectorySeparatorChar) || (path[1] == ':' && Char.ToLower(path[0]) > 'a' && Char.ToLower(path[0]) < 'z')) {\r
                                                return new Uri ("file://" + path);\r
                                        }\r
index a2d4484b82c625093c6c96aaddc42c421feb1eb6..bf72a3c7290a15272dc54e2bb026284fd4b10806 100644 (file)
@@ -32,7 +32,6 @@ namespace System.Net
                bool busy;
                WaitOrTimerCallback initConn;
                bool keepAlive;
-               bool aborted;
                byte [] buffer;
                static AsyncCallback readDoneDelegate = new AsyncCallback (ReadDone);
                EventHandler abortHandler;
@@ -356,7 +355,6 @@ namespace System.Net
                                busy = false;
                                Data = new WebConnectionData ();
                                goAhead.Set ();
-                               aborted = false;
                                SendNext ();
                                return;
                        }
index b29b173e00283a9d9dd1eec8c1d2ea5be9ea4be3..10546abd1436401ea57f4f66a5b2c0641c54fea6 100644 (file)
@@ -291,7 +291,7 @@ namespace System.Net
                        if (!allowBuffering) {
                                try {
                                        Write (buffer, offset, size);
-                               } catch (IOException e) {
+                               } catch (IOException) {
                                        if (cnc.Connected)
                                                throw;