From 3c26f7d2cb401292666bdb968313497537a8301b Mon Sep 17 00:00:00 2001 From: dkf Date: Wed, 17 Jul 2002 14:23:13 +0000 Subject: Minor changes to make things build with SunPro CC... --- ChangeLog | 5 +++++ generic/tclExecute.c | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf9453f..facee55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-07-17 Donal K. Fellows + + * generic/tclExecute.c (TclExecuteByteCode): Minor fixes to make + this file compile with SunPro CC... + 2002-07-17 Miguel Sofer * generic/tclExecute.c: modified to do variable lookup explicitly, diff --git a/generic/tclExecute.c b/generic/tclExecute.c index c7538b5..1050a26 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.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: tclExecute.c,v 1.78 2002/07/17 10:36:22 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.79 2002/07/17 14:23:13 dkf Exp $ */ #include "tclInt.h" @@ -1063,7 +1063,6 @@ TclExecuteByteCode(interp, codePtr) #endif register int cleanup; Tcl_Obj *objResultPtr; -// char *part1, *part2; Var *varPtr, *arrayPtr; CallFrame *varFramePtr = iPtr->varFramePtr; @@ -1169,6 +1168,11 @@ TclExecuteByteCode(interp, codePtr) valuePtr = POP_OBJECT(); TclDecrRefCount(valuePtr); case 0: + /* + * We really want to do nothing now, but this is needed + * for some compilers (SunPro CC) + */ + break; } cleanup0: -- cgit v0.12