From f110950bfea3fe5400481344d35fb20b5be5b3e6 Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Mon, 27 Sep 2004 22:03:35 +0000 Subject: removed several unused vars in TclObjInvoke --- ChangeLog | 3 +++ generic/tclBasic.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f8cbea..c8c12df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -66,6 +66,9 @@ that was needed only because of Bug 868489. + * generic/tclBasic.c (TclObjInvoke): Removed three unused + variables to silence a compiler warning in VC++. + 2004-09-27 Vince Darley * doc/FileSystem.3: fix to small typo. diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 34f3356..fabec6f 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.117 2004/09/27 16:24:23 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.118 2004/09/27 22:03:42 kennykb Exp $ */ #include "tclInt.h" @@ -4249,11 +4249,8 @@ TclObjInvoke(interp, objc, objv, flags) Tcl_HashTable *hTblPtr; /* Table of hidden commands. */ char *cmdName; /* Name of the command from objv[0]. */ register Tcl_HashEntry *hPtr; - Tcl_Command cmd; Command *cmdPtr; - int localObjc; /* Used to invoke "unknown" if the */ Tcl_Obj **localObjv = NULL; /* command is not found. */ - register int i; int result; if (interp == (Tcl_Interp *) NULL) { -- cgit v0.12