summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 12:00:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 12:00:34 (GMT)
commitdcc0c4435072feac4c32f8947c650f9123d1f184 (patch)
tree8c85e38d8f42021b94ee6825a8dec4223098d558 /generic
parent47019bd864f8e11df7ed0418b207c0ea51275ad3 (diff)
parentcc38079bd48dcdb4acf1549563a39e55a0aa8352 (diff)
downloadtcl-dcc0c4435072feac4c32f8947c650f9123d1f184.zip
tcl-dcc0c4435072feac4c32f8947c650f9123d1f184.tar.gz
tcl-dcc0c4435072feac4c32f8947c650f9123d1f184.tar.bz2
Fix gcc warning (discovered with latest mingw, based on gcc 4.6.1)
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIORChan.c2
1 files changed, 0 insertions, 2 deletions
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);
}