summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-11-24 21:12:07 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-11-24 21:12:07 (GMT)
commit885ab6d26a4b5cd50132d00339764ea54ff4d81d (patch)
treebd7397eb92cead402b4302c3eb050441bfda8aca
parentd6081589259d1d89b00f356d279aef95d395ba2c (diff)
downloadtcl-885ab6d26a4b5cd50132d00339764ea54ff4d81d.zip
tcl-885ab6d26a4b5cd50132d00339764ea54ff4d81d.tar.gz
tcl-885ab6d26a4b5cd50132d00339764ea54ff4d81d.tar.bz2
Fixed compilation error in tclWinInit.c on VC++ --enable-symbols
-rw-r--r--ChangeLog3
-rw-r--r--win/tclWinInit.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a73052..15ff7f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
manage their masks using the FD_CLR, FD_ISSET, FD_SET, and
FD_ZERO macros rather than bit-whacking that failed under
Solaris-Sparc-64. [Bug 1071807]
+ * win/tclWinInit.c (TclpInitLibraryPath): Removed unused
+ vars 'pathc' and 'pathv' that caused compilation problems
+ on VC++ with --enable-symbols.
2004-11-24 Don Porter <dgp@users.sourceforge.net>
diff --git a/win/tclWinInit.c b/win/tclWinInit.c
index a3a66ee..c92eab6 100644
--- a/win/tclWinInit.c
+++ b/win/tclWinInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1998-1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclWinInit.c,v 1.62 2004/11/22 22:13:42 dgp Exp $
+ * RCS: @(#) $Id: tclWinInit.c,v 1.63 2004/11/24 21:12:20 kennykb Exp $
*/
#include "tclWinInt.h"
@@ -334,8 +334,7 @@ TclpInitLibraryPath(path)
Tcl_Obj *pathPtr, *objPtr, **objv;
CONST char *str;
Tcl_DString ds;
- int objc, pathc;
- CONST char **pathv;
+ int objc;
char installLib[LIBRARY_SIZE];
Tcl_DStringInit(&ds);