diff options
author | dgp <dgp@users.sourceforge.net> | 2004-06-08 20:25:43 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-06-08 20:25:43 (GMT) |
commit | c37239043f3cd7954d38a83e661891fbe0d26bf6 (patch) | |
tree | 7bd87a2bfe65ad0ef14bd628e9603ca5480819ad /unix | |
parent | 5eab20a833c6f656a04fde105ae0898cdf6ecc24 (diff) | |
download | tcl-c37239043f3cd7954d38a83e661891fbe0d26bf6.zip tcl-c37239043f3cd7954d38a83e661891fbe0d26bf6.tar.gz tcl-c37239043f3cd7954d38a83e661891fbe0d26bf6.tar.bz2 |
Silence compiler warnings
Diffstat (limited to 'unix')
-rw-r--r-- | unix/dltest/pkga.c | 4 | ||||
-rw-r--r-- | unix/tclUnixPipe.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/unix/dltest/pkga.c b/unix/dltest/pkga.c index 8dd87ae..63170fc 100644 --- a/unix/dltest/pkga.c +++ b/unix/dltest/pkga.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: pkga.c,v 1.4.24.2 2003/07/16 02:16:14 mdejong Exp $ + * RCS: @(#) $Id: pkga.c,v 1.4.24.3 2004/06/08 20:25:45 dgp Exp $ */ #include "tcl.h" @@ -49,7 +49,7 @@ Pkga_EqObjCmd(dummy, interp, objc, objv) { int result; CONST char *str1, *str2; - int len1, len2, n; + int len1, len2; if (objc != 3) { Tcl_WrongNumArgs(interp, 1, objv, "string1 string2"); diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index 4ceb16f..89e64f3 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.23 2003/02/21 14:15:58 das Exp $ + * RCS: @(#) $Id: tclUnixPipe.c,v 1.23.2.1 2004/06/08 20:25:45 dgp Exp $ */ #include "tclInt.h" @@ -660,8 +660,6 @@ 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. |