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 | e6b4870d4f61887fd44d960a9aa579cea35a6573 (patch) | |
tree | 587344f98f1985de320c58734134f3eee93b87f8 /unix/tkUnixButton.c | |
parent | 7a579bc55967e3b4c5873c02e3823a484c45665b (diff) | |
download | tk-e6b4870d4f61887fd44d960a9aa579cea35a6573.zip tk-e6b4870d4f61887fd44d960a9aa579cea35a6573.tar.gz tk-e6b4870d4f61887fd44d960a9aa579cea35a6573.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 373f2e3..2101fda 100644 --- a/unix/tkUnixButton.c +++ b/unix/tkUnixButton.c @@ -360,7 +360,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 |