diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-17 14:23:13 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-07-17 14:23:13 (GMT) |
commit | 3c26f7d2cb401292666bdb968313497537a8301b (patch) | |
tree | 59bfed058348fec8e8a2357ef51eeba7ffaf6db2 /generic | |
parent | 239854b80c97ffda9f1300635a18bfb1350c1e53 (diff) | |
download | tcl-3c26f7d2cb401292666bdb968313497537a8301b.zip tcl-3c26f7d2cb401292666bdb968313497537a8301b.tar.gz tcl-3c26f7d2cb401292666bdb968313497537a8301b.tar.bz2 |
Minor changes to make things build with SunPro CC...
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclExecute.c | 8 |
1 files changed, 6 insertions, 2 deletions
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: |