From 4a275ce643088004228f8c5c59ad92daca5bbcde Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 9 Oct 2007 22:16:23 +0000 Subject: Fix my silly blunder with an undeclared variable. --- generic/tclCompile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/generic/tclCompile.c b/generic/tclCompile.c index d4c5d9e..9ea7d2d 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.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: tclCompile.c,v 1.134 2007/09/25 20:27:17 dkf Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.135 2007/10/09 22:16:23 dkf Exp $ */ #include "tclInt.h" @@ -3240,9 +3240,10 @@ TclPrintInstruction( unsigned char *pc) /* Points to first byte of instruction. */ { Tcl_Obj *bufferObj; + int numBytes; TclNewObj(bufferObj); - FormatInstruction(codePtr, pc, bufferObj); + numBytes = FormatInstruction(codePtr, pc, bufferObj); fprintf(stdout, "%s", TclGetString(bufferObj)); Tcl_DecrRefCount(bufferObj); return numBytes; -- cgit v0.12