2004-01-27 Nick Drochak <ndrochak@ieee.org>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 27 Jan 2004 14:00:08 +0000 (14:00 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 27 Jan 2004 14:00:08 +0000 (14:00 -0000)
* FAMWatcher.cs:
* FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
build warnings.

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

mcs/class/System/System.IO/ChangeLog
mcs/class/System/System.IO/FAMWatcher.cs
mcs/class/System/System.IO/FileSystemWatcher.cs

index c72028140efd54dd39835d71a34aa802f93fb2ec..34b54eef895111cd81159db191d90817d2495325 100755 (executable)
@@ -1,3 +1,9 @@
+2004-01-27  Nick Drochak <ndrochak@ieee.org>
+
+       * FAMWatcher.cs:
+       * FileSystemWatcher.cs: Remove unused variables. Eliminates a couple of
+       build warnings.
+
 2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * DefaultWatcher.cs: fixed condition for removal from the watches list.
index df9662db2066bf89f536ebfb9b3d73a4021b7dd3..a85123fbdce1e2ecce33f1eda3de090b692946e3 100644 (file)
@@ -143,7 +143,6 @@ namespace System.IO {
 
                static void StopMonitoringDirectory (FAMData data)
                {
-                       FAMRequest fr;
                        if (FAMCancelMonitor (ref conn, ref data.Request) == -1)
                                throw new Win32Exception ();
                }
index b71279173a83dbef8b5d51cde0a2e9ebd7f19180..883c81b76d537e1a94236d52e06e35dd15c141ce 100644 (file)
@@ -30,7 +30,6 @@ namespace System.IO {
                string path;
                string fullpath;
                ISynchronizeInvoke synchronizingObject;
-               bool disposed;
                WaitForChangedResult lastData;
                bool waiting;
                SearchPattern2 pattern;
@@ -287,7 +286,6 @@ namespace System.IO {
                        if (disposing) {
                                Stop ();
                        }
-                       disposed = true;
                        base.Dispose (disposing);
                }