summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclExecute.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 53f0fd1..d6d53ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-08 Miguel Sofer <msofer@users.sf.net>
+
+ * generic/tclExecute.c (TEBC): silence warning about pcAdjustment
+
2009-12-08 Donal K. Fellows <dkf@users.sf.net>
* 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);