summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:33:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:33:23 (GMT)
commita89d11864715181fa74000e72b692e93faa1b7d5 (patch)
tree45080b46532b5e454bf272d7d2074540f110a517 /generic
parentc3c79c2377af5c203948885e9b1d4a94fe900ec0 (diff)
downloadtcl-a89d11864715181fa74000e72b692e93faa1b7d5.zip
tcl-a89d11864715181fa74000e72b692e93faa1b7d5.tar.gz
tcl-a89d11864715181fa74000e72b692e93faa1b7d5.tar.bz2
More gcc warnings: variable set but not usedpseudotrunk_2011_03_08
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIORChan.c2
-rw-r--r--generic/tclIORTrans.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c
index 3b50665..3751d6c 100644
--- a/generic/tclIORChan.c
+++ b/generic/tclIORChan.c
@@ -2689,7 +2689,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
@@ -2793,7 +2792,6 @@ ForwardOpToOwnerThread(
Tcl_DeleteThreadExitHandler(SrcExitProc, evPtr);
- result = resultPtr->result;
ckfree((char *) resultPtr);
}
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index fd645f7..f888bde 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -2358,7 +2358,6 @@ ForwardOpToOwnerThread(
Tcl_ThreadId dst = rtPtr->thread;
ForwardingEvent *evPtr;
ForwardingResult *resultPtr;
- int result;
/*
* We gather the lock early. This allows us to check the liveness of the
@@ -2462,7 +2461,6 @@ ForwardOpToOwnerThread(
Tcl_DeleteThreadExitHandler(SrcExitProc, evPtr);
- result = resultPtr->result;
ckfree((char*) resultPtr);
}