diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-12 13:45:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-12 13:45:52 (GMT) |
commit | 186fd507fce8e72ceb25fa41cfe1c65429dd3398 (patch) | |
tree | 76d87a1336cc0ae03ff1717e7404dbbed46f098f /unix/tkUnixButton.c | |
parent | df8fe8d77386421fadafe0b14472529c573a3f8b (diff) | |
parent | f0588ea6f1632841dfe7ed350ea5c0e78331882d (diff) | |
download | tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.zip tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.gz tk-186fd507fce8e72ceb25fa41cfe1c65429dd3398.tar.bz2 |
Silence some compiler warnings.
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r-- | unix/tkUnixButton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c index e45812e..1aeefac 100644 --- a/unix/tkUnixButton.c +++ b/unix/tkUnixButton.c @@ -363,7 +363,7 @@ TkpDisplayButton( * warning. */ int y, relief; Tk_Window tkwin = butPtr->tkwin; - int width, height, fullWidth, fullHeight; + int width = 0, height = 0, fullWidth, fullHeight; int textXOffset, textYOffset; int haveImage = 0, haveText = 0; int offset; /* 1 means this is a button widget, so we |