Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmcs/class/System/System.IO/ChangeLog6
-rw-r--r--mcs/class/System/System.IO/FAMWatcher.cs1
-rw-r--r--mcs/class/System/System.IO/FileSystemWatcher.cs2
3 files changed, 6 insertions, 3 deletions
diff --git a/mcs/class/System/System.IO/ChangeLog b/mcs/class/System/System.IO/ChangeLog
index c72028140ef..34b54eef895 100755
--- a/mcs/class/System/System.IO/ChangeLog
+++ b/mcs/class/System/System.IO/ChangeLog
@@ -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.
diff --git a/mcs/class/System/System.IO/FAMWatcher.cs b/mcs/class/System/System.IO/FAMWatcher.cs
index df9662db206..a85123fbdce 100644
--- a/mcs/class/System/System.IO/FAMWatcher.cs
+++ b/mcs/class/System/System.IO/FAMWatcher.cs
@@ -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 ();
}
diff --git a/mcs/class/System/System.IO/FileSystemWatcher.cs b/mcs/class/System/System.IO/FileSystemWatcher.cs
index b71279173a8..883c81b76d5 100644
--- a/mcs/class/System/System.IO/FileSystemWatcher.cs
+++ b/mcs/class/System/System.IO/FileSystemWatcher.cs
@@ -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);
}