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)
commitfd7ea3420f7e0a7c10eae2adb29e7fe119c8eddf (patch)
treee0229fbe2f7e9287fd12b64f482d761a38ffa4e3
parent2c5a00c9665e5219026627b5d248be5b0302e46c (diff)
downloadtcl-fd7ea3420f7e0a7c10eae2adb29e7fe119c8eddf.zip
tcl-fd7ea3420f7e0a7c10eae2adb29e7fe119c8eddf.tar.gz
tcl-fd7ea3420f7e0a7c10eae2adb29e7fe119c8eddf.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