From 885ab6d26a4b5cd50132d00339764ea54ff4d81d Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Wed, 24 Nov 2004 21:12:07 +0000 Subject: Fixed compilation error in tclWinInit.c on VC++ --enable-symbols --- ChangeLog | 3 +++ win/tclWinInit.c | 5 ++--- 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 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); -- cgit v0.12