summaryrefslogtreecommitdiffstats
path: root/generic/tkBitmap.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-12 13:45:52 (GMT)
commit186fd507fce8e72ceb25fa41cfe1c65429dd3398 (patch)
tree76d87a1336cc0ae03ff1717e7404dbbed46f098f /generic/tkBitmap.c
parentdf8fe8d77386421fadafe0b14472529c573a3f8b (diff)
parentf0588ea6f1632841dfe7ed350ea5c0e78331882d (diff)
downloadtk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.zip
tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.gz
tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.bz2
Silence some compiler warnings.
Diffstat (limited to 'generic/tkBitmap.c')
-rw-r--r--generic/tkBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index 729fff4..88f3e2b 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.c
@@ -305,7 +305,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 =
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));