diff options
author | dgp@users.sourceforge.net <dgp> | 2004-06-08 19:18:39 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2004-06-08 19:18:39 (GMT) |
commit | a0941f7d2e3fca7eb9ac9c0bed8fad88fe3cf96e (patch) | |
tree | 830b85678ec45de2bd68f3df1eb36da1b3815853 /unix/tclUnixPipe.c | |
parent | 81cc09f41dd1d642cefc27df80946d4fe8f770b4 (diff) | |
download | tcl-a0941f7d2e3fca7eb9ac9c0bed8fad88fe3cf96e.zip tcl-a0941f7d2e3fca7eb9ac9c0bed8fad88fe3cf96e.tar.gz tcl-a0941f7d2e3fca7eb9ac9c0bed8fad88fe3cf96e.tar.bz2 |
Silence compiler warnings.
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r-- | unix/tclUnixPipe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 448d19e..77d1f8b 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPipe.c,v 1.24 2004/04/06 22:25:57 dgp Exp $ + * RCS: @(#) $Id: tclUnixPipe.c,v 1.25 2004/06/08 19:18:39 dgp Exp $ */ #include "tclInt.h" @@ -659,14 +659,12 @@ SetupStdFile(file, type) fcntl(targetFd, F_SETFD, 0); } else { - int result; - /* * Since we aren't dup'ing the file, we need to explicitly clear * the close-on-exec flag. */ - result = fcntl(fd, F_SETFD, 0); + fcntl(fd, F_SETFD, 0); } } else { close(targetFd); |