From 1e66c4d78d7d34a2bf3e31b6da338709fc361772 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Wed, 31 Jul 2024 09:34:12 +0000 Subject: Fix gcc -Wclobbered warnings. Thanks, Gustaf --- unix/tclUnixPipe.c | 4 ++-- 1 file 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) -- cgit v0.12