summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixPipe.c')
-rw-r--r--unix/tclUnixPipe.c6
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);