From 8a68f98d38f0ab0c1dca80d0ac18551302c0a12a Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 14 Jun 2007 17:09:14 +0000 Subject: remove C99 var declaration --- generic/tclProc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generic/tclProc.c b/generic/tclProc.c index ff92c96..4468e41 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclProc.c,v 1.118 2007/06/14 15:56:07 dgp Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.119 2007/06/14 17:09:14 hobbs Exp $ */ #include "tclInt.h" @@ -1708,6 +1708,8 @@ ProcCompileProc( } } if (bodyPtr->typePtr != &tclByteCodeType) { + Tcl_HashEntry *hePtr; + #ifdef TCL_COMPILE_DEBUG if (tclTraceCompile >= 1) { /* @@ -1808,8 +1810,7 @@ ProcCompileProc( * was saved by 'Tcl_ProcObjCmd' (using linePBodyPtr). */ - Tcl_HashEntry *hePtr = Tcl_FindHashEntry(iPtr->linePBodyPtr, - (char *) procPtr); + hePtr = Tcl_FindHashEntry(iPtr->linePBodyPtr, (char *) procPtr); /* * Constructed saved frame has body as word 0. See Tcl_ProcObjCmd. -- cgit v0.12