diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2006-08-10 12:15:28 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2006-08-10 12:15:28 (GMT) |
commit | 5fecb2e14300561bac581946809bf4414edb16a3 (patch) | |
tree | 8cd60dbc9d7cd070ffaff79758e86c8cca2f24bb /generic/tclBinary.c | |
parent | 3f4ee0c4c41cca715f2b78d15c7823ab14e0cb62 (diff) | |
download | tcl-5fecb2e14300561bac581946809bf4414edb16a3.zip tcl-5fecb2e14300561bac581946809bf4414edb16a3.tar.gz tcl-5fecb2e14300561bac581946809bf4414edb16a3.tar.bz2 |
Various minor object file size efficiency fixes. [Bug 1530474]
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index d3b370c..1d7a48d 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBinary.c,v 1.28 2006/04/26 13:42:43 dgp Exp $ + * RCS: @(#) $Id: tclBinary.c,v 1.29 2006/08/10 12:15:30 dkf Exp $ */ #include "tclInt.h" @@ -262,7 +262,7 @@ Tcl_SetByteArrayObj( ByteArray *byteArrayPtr; if (Tcl_IsShared(objPtr)) { - Tcl_Panic("Tcl_SetByteArrayObj called with shared object"); + Tcl_Panic("%s called with shared object", "Tcl_SetByteArrayObj"); } TclFreeIntRep(objPtr); Tcl_InvalidateStringRep(objPtr); @@ -341,7 +341,7 @@ Tcl_SetByteArrayLength( ByteArray *byteArrayPtr, *newByteArrayPtr; if (Tcl_IsShared(objPtr)) { - Tcl_Panic("Tcl_SetObjLength called with shared object"); + Tcl_Panic("%s called with shared object", "Tcl_SetByteArrayLength"); } if (objPtr->typePtr != &tclByteArrayType) { SetByteArrayFromAny(NULL, objPtr); @@ -1498,7 +1498,7 @@ NeedReversing( #endif } - Tcl_Panic("unexpected fall-through"); + Tcl_Panic("unexpected fallthrough"); return 0; } |