summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2024-07-31 09:34:12 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2024-07-31 09:34:12 (GMT)
commit1e66c4d78d7d34a2bf3e31b6da338709fc361772 (patch)
tree3fb6db3cc296e0204f8d53d1f81c8ac6716d02ac /unix/tclUnixPipe.c
parent21e29be78d15415331a310d5f00775ec3a4a7162 (diff)
downloadtcl-1e66c4d78d7d34a2bf3e31b6da338709fc361772.zip
tcl-1e66c4d78d7d34a2bf3e31b6da338709fc361772.tar.gz
tcl-1e66c4d78d7d34a2bf3e31b6da338709fc361772.tar.bz2
Fix gcc -Wclobbered warnings. Thanks, Gustaf
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index 046ec90..8d4a6b0 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -428,8 +428,8 @@ TclpCreateProcess(
TclFile errPipeIn, errPipeOut;
int count, status, fd;
char errSpace[200 + TCL_INTEGER_SPACE];
- Tcl_DString *dsArray;
- char **newArgv;
+ Tcl_DString *volatile dsArray;
+ char **volatile newArgv;
int pid;
size_t i;
#if defined(HAVE_POSIX_SPAWNP)