diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | generic/tclIORChan.c | 2 | ||||
-rw-r--r-- | generic/tclIORTrans.c | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -1,6 +1,9 @@ 2011-03-08 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclBasic.c: Fix gcc warnings: variable set but not used + * generic/tclIORChan.c: + * generic/tclIORTrans.c: + * generic/tclProc.c: 2011-03-06 Don Porter <dgp@users.sourceforge.net> 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); } |