removed unused variables
authorMarek Safar <marek.safar@gmail.com>
Tue, 23 Nov 2004 06:40:55 +0000 (06:40 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 23 Nov 2004 06:40:55 +0000 (06:40 -0000)
svn path=/trunk/mcs/; revision=36415

mcs/class/corlib/System.Collections/ArrayList.cs
mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs
mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs
mcs/class/corlib/System.Threading/ReaderWriterLock.cs
mcs/class/corlib/System/IntegerFormatter.cs

index 3e57855a7fbcfec6feb56cc98315a916c6caf171..6b1d588a4c2f8e5dabb858d170e5b2120a7e371f 100644 (file)
@@ -3143,8 +3143,6 @@ namespace System.Collections
 
                public virtual void SetRange(int index, ICollection c) 
                {
-                       int x = index;
-
                        if (c == null) 
                        {
                                throw new ArgumentNullException("c");
index 95770c0783ad9271d75d1eea503ebdf5831a7b22..0ff8394f3380b49b7edbd8335299813893348cf4 100644 (file)
@@ -98,7 +98,6 @@ namespace System.Runtime.Remoting.Messaging {
                                CopyFrom ((IMethodMessage) msg);
                        else
                        {
-                               IDictionary dic = msg.Properties;
                                foreach (DictionaryEntry entry in msg.Properties)
                                        InitMethodProperty ((String) entry.Key, entry.Value);
                                Init();
index da6937d37c4f918f238a0e4a98c5d451af8c3a36..8347f04482343753eb869167295202084d2caa72 100644 (file)
@@ -286,7 +286,7 @@ namespace System.Runtime.Serialization.Formatters.Binary
                        if (((BinaryTypeCode)reader.ReadByte()) != BinaryTypeCode.String) throw new SerializationException ("Invalid format");\r
                        string className = reader.ReadString();\r
 \r
-                       bool hasContextInfo = (flags & MethodFlags.IncludesLogicalCallContext) > 0;
+                       //bool hasContextInfo = (flags & MethodFlags.IncludesLogicalCallContext) > 0;
 
                        object[] arguments = null;
                        object methodSignature = null;
index c80b7826574e3aca859950f0176bf8dc07b520e7..c35bd45cd64e17298d230783d4414bc860644deb 100755 (executable)
@@ -114,7 +114,7 @@ namespace System.Threading
                public void AcquireReaderLock(TimeSpan timeout)
                {
                        int ms = CheckTimeout (timeout);
-                       AcquireReaderLock ((int) timeout.TotalMilliseconds, 1);
+                       AcquireReaderLock (ms, 1);
                }
 
                public void AcquireWriterLock (int millisecondsTimeout)
index b460e390ff29be7dcc1218c19809431d879b3986..e29f6ff1d62c06f4957598efa0d6263629f16203 100644 (file)
@@ -2153,7 +2153,6 @@ class FormatParse {
                        pos++;
                }
                else if (current == '\'' || current == '"') {
-                       char Quote = current;
                        curpos++;
                        int endpos = Array.IndexOf (fmt_chars, current, curpos);
                        if (endpos == -1)