summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-06-14 15:56:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-06-14 15:56:05 (GMT)
commit4a0b54903a95f70e6582b4be1b83762c970dc81c (patch)
tree500c7c5c1c3ffe14077431f6ada3f8cc0179c13f /generic/tclCompile.c
parent581f24016c998cd22f2affc43f5fbba975afdb2f (diff)
downloadtcl-4a0b54903a95f70e6582b4be1b83762c970dc81c.zip
tcl-4a0b54903a95f70e6582b4be1b83762c970dc81c.tar.gz
tcl-4a0b54903a95f70e6582b4be1b83762c970dc81c.tar.bz2
* generic/tclCompile.c: SetByteCodeFromAny() can no longer return
* generic/tclExecute.c: any code other than TCL_OK, so remove code * generic/tclProc.c: that formerly handled exceptional codes.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 1862cb2..f3aa2e4 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.118 2007/05/30 18:12:58 dgp Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.119 2007/06/14 15:56:05 dgp Exp $
*/
#include "tclInt.h"
@@ -585,7 +585,8 @@ SetByteCodeFromAny(
* compiled. Must not be NULL. */
Tcl_Obj *objPtr) /* The object to make a ByteCode object. */
{
- return TclSetByteCodeFromAny(interp, objPtr, NULL, (ClientData) NULL);
+ (void) TclSetByteCodeFromAny(interp, objPtr, NULL, (ClientData) NULL);
+ return TCL_OK;
}
/*