summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-09-12 19:39:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-09-12 19:39:01 (GMT)
commit8fed29b98e75aa97cbf8b16dbebd0b4d7596c050 (patch)
tree1ead2448aefa5906fadf7b5f37652909c2ee4370
parent3218809d9a888f4b5a70d09e8d518e57096b1a94 (diff)
downloadtcl-8fed29b98e75aa97cbf8b16dbebd0b4d7596c050.zip
tcl-8fed29b98e75aa97cbf8b16dbebd0b4d7596c050.tar.gz
tcl-8fed29b98e75aa97cbf8b16dbebd0b4d7596c050.tar.bz2
uninitialized vars are bad, mm'kay?
-rw-r--r--generic/tclStringObj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index 73a559f..f7e6848 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.35.2.7 2005/09/12 19:12:27 dgp Exp $ */
+ * RCS: @(#) $Id: tclStringObj.c,v 1.35.2.8 2005/09/12 19:39:01 dgp Exp $ */
#include "tclInt.h"
#include "tommath.h"
@@ -2056,7 +2056,7 @@ TclAppendFormattedObjs(interp, baseObj, format, objc, objv)
case 'o':
case 'x':
case 'X': {
- Tcl_WideUInt bits;
+ Tcl_WideUInt bits = (Tcl_WideUInt)0;
int length, numBits = 4, numDigits = 0, base = 16;
int index = 0, shift = 0;
Tcl_Obj *pure;