summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-08-22 17:29:08 (GMT)
committerhobbs <hobbs>2001-08-22 17:29:08 (GMT)
commit92d8bc2c4dedb897ba23410a317a969e376bd50c (patch)
treeda0dd82ee066332b921d19517ebbc5547531398d /generic
parented1bb60cee21c79311aa57d15283a97a9378b670 (diff)
downloadtk-92d8bc2c4dedb897ba23410a317a969e376bd50c.zip
tk-92d8bc2c4dedb897ba23410a317a969e376bd50c.tar.gz
tk-92d8bc2c4dedb897ba23410a317a969e376bd50c.tar.bz2
generic/tkPack.c (TkParsePadAmount): added lint init for sepChar.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkPack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkPack.c b/generic/tkPack.c
index 6d52789..cada2c2 100644
--- a/generic/tkPack.c
+++ b/generic/tkPack.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: tkPack.c,v 1.8 2001/08/21 20:21:36 pspjuth Exp $
+ * RCS: @(#) $Id: tkPack.c,v 1.9 2001/08/22 17:29:08 hobbs Exp $
*/
#include "tkPort.h"
@@ -1062,7 +1062,7 @@ TkParsePadAmount(interp, tkwin, specObj, halfPtr, allPtr)
{
char *secondPart; /* The second pixel amount of the list */
char *separator = 0; /* Separator between 1st and 2nd pixel widths */
- int sepChar; /* Character used as the separator */
+ int sepChar = 0; /* Character used as the separator */
int firstInt, secondInt; /* The two components of the padding */
char *padSpec = Tcl_GetString(specObj);