summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclIORChan.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2898534..6286484 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
+2011-10-07 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * generic/tclIORChan.c: Fix gcc warning
+ (discovered with latest mingw, based on gcc 4.6.1)
+
2011-10-03 Venkat Iyer <venkat@comit.com>
+
* library/tzdata/Africa/Dar_es_Salaam: Update to Olson's tzdata2011k
* library/tzdata/Africa/Kampala
* library/tzdata/Africa/Nairobi
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index d3bd8c4..ca3ab4b 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -2675,7 +2675,6 @@ ForwardOpToOwnerThread(
Tcl_ThreadId dst = rcPtr->thread;
ForwardingEvent *evPtr;
ForwardingResult *resultPtr;
- int result;
/*
* We gather the lock early. This allows us to check the liveness of the
@@ -2779,7 +2778,6 @@ ForwardOpToOwnerThread(
Tcl_DeleteThreadExitHandler(SrcExitProc, (ClientData) evPtr);
- result = resultPtr->result;
ckfree((char*) resultPtr);
}