diff options
-rw-r--r-- | generic/tclStringObj.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index be926fe..3a042ce 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -33,7 +33,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStringObj.c,v 1.41 2005/09/09 17:47:19 dgp Exp $ */ + * RCS: @(#) $Id: tclStringObj.c,v 1.42 2005/09/09 19:24:32 dgp Exp $ */ #include "tclInt.h" @@ -2286,7 +2286,7 @@ ObjPrintfVA(interp, argList) va_list argList; { int code, objc; - Tcl_Obj **objv, *element, *list = Tcl_NewObj(); + Tcl_Obj **objv, *list = Tcl_NewObj(); CONST char *format, *p; Tcl_Obj *objPtr = va_arg(argList, Tcl_Obj *); @@ -2331,9 +2331,6 @@ ObjPrintfVA(interp, argList) seekingConversion = 0; switch (size) { case -1: - Tcl_ListObjAppendElement(NULL, list, Tcl_NewLongObj( - (long int)va_arg(argList, short int))); - break; case 0: Tcl_ListObjAppendElement(NULL, list, Tcl_NewLongObj( (long int)va_arg(argList, int))); |