From 5291a66f405cc624cacbafb313ad1a5c0e34e3a5 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 8 Dec 2009 19:00:24 +0000 Subject: * generic/tclExecute.c (TEBC): silence warning about pcAdjustment --- ChangeLog | 4 ++++ generic/tclExecute.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 53f0fd1..d6d53ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-12-08 Miguel Sofer + + * generic/tclExecute.c (TEBC): silence warning about pcAdjustment + 2009-12-08 Donal K. Fellows * generic/tclExecute.c (TclExecuteByteCode): Make the dict opcodes diff --git a/generic/tclExecute.c b/generic/tclExecute.c index e552dad..d8cd7f6 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.453 2009/12/08 13:58:04 dkf Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.454 2009/12/08 19:00:25 msofer Exp $ */ #include "tclInt.h" @@ -2797,6 +2797,8 @@ TclExecuteByteCode( int type = PTR2INT(callbackPtr->data[0]); ClientData param = callbackPtr->data[1]; + pcAdjustment = 0; /* silence warning */ + NRE_ASSERT(callbackPtr != BP->rootPtr); NRE_ASSERT(callbackPtr->procPtr == NRCallTEBC); -- cgit v0.12