summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2015-02-12 12:51:10 (GMT)
committerdgp <dgp@noemail.net>2015-02-12 12:51:10 (GMT)
commitd2c50d0f87578d19525d57ef657ab1cc9098eb49 (patch)
tree587344f98f1985de320c58734134f3eee93b87f8 /unix
parent1533bf3cac64320861c186b0e39f84d59fcb3331 (diff)
downloadtk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.zip
tk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.tar.gz
tk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.tar.bz2
Silence some compiler warnings
FossilOrigin-Name: 4f08cfde190264e108df625396265087d197c06d
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixButton.c2
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