summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-04 09:35:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-04 09:35:14 (GMT)
commit668eda40dc503d733250ac0fe982c063856acb38 (patch)
treee0229fbe2f7e9287fd12b64f482d761a38ffa4e3
parentd329be0030f6800be40dc3606491b8880814d336 (diff)
downloadtcl-668eda40dc503d733250ac0fe982c063856acb38.zip
tcl-668eda40dc503d733250ac0fe982c063856acb38.tar.gz
tcl-668eda40dc503d733250ac0fe982c063856acb38.tar.bz2
Fix gcc warning: unused variable wakeEvent
-rw-r--r--win/tclWinPipe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 3e7e5eb..5246d53 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -3253,7 +3253,7 @@ TclPipeThreadStop(
HANDLE hThread)
{
TclPipeThreadInfo *pipeTI = *pipeTIPtr;
- HANDLE evControl, wakeEvent;
+ HANDLE evControl;
int state;
if (!pipeTI) {
@@ -3261,7 +3261,6 @@ TclPipeThreadStop(
}
pipeTI = *pipeTIPtr;
evControl = pipeTI->evControl;
- wakeEvent = pipeTI->evWakeUp;
pipeTI->evWakeUp = NULL;
/*
* Try to sane stop the pipe worker, corresponding its current state