diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-12 12:51:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-12 12:51:10 (GMT) |
commit | 6dbbfe9f269314838207f70fd26de9a7d5394039 (patch) | |
tree | 587344f98f1985de320c58734134f3eee93b87f8 /generic/tkBitmap.c | |
parent | 7d13b808151fa7b1fff9754f24f5f32739f5950b (diff) | |
download | tk-6dbbfe9f269314838207f70fd26de9a7d5394039.zip tk-6dbbfe9f269314838207f70fd26de9a7d5394039.tar.gz tk-6dbbfe9f269314838207f70fd26de9a7d5394039.tar.bz2 |
Silence some compiler warnings
Diffstat (limited to 'generic/tkBitmap.c')
-rw-r--r-- | generic/tkBitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c index 09545d6..f7df546 100644 --- a/generic/tkBitmap.c +++ b/generic/tkBitmap.c @@ -304,7 +304,7 @@ GetBitmap( TkBitmap *bitmapPtr, *existingBitmapPtr; TkPredefBitmap *predefPtr; Pixmap bitmap; - int isNew, width, height, dummy2; + int isNew, width = 0, height = 0, dummy2; TkDisplay *dispPtr = ((TkWindow *) tkwin)->dispPtr; ThreadSpecificData *tsdPtr = (ThreadSpecificData *) Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData)); |