summaryrefslogtreecommitdiffstats
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)
commit232b506574ce3224784774264cb15fe073b3f148 (patch)
tree3fb6db3cc296e0204f8d53d1f81c8ac6716d02ac
parentbfa58f2367bdb2f3b69c67f5d4296563a6dd5b1a (diff)
downloadtcl-232b506574ce3224784774264cb15fe073b3f148.zip
tcl-232b506574ce3224784774264cb15fe073b3f148.tar.gz
tcl-232b506574ce3224784774264cb15fe073b3f148.tar.bz2
Fix gcc -Wclobbered warnings. Thanks, Gustaf
-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)