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 /macosx/tkMacOSXButton.c | |
parent | 7d13b808151fa7b1fff9754f24f5f32739f5950b (diff) | |
download | tk-6dbbfe9f269314838207f70fd26de9a7d5394039.zip tk-6dbbfe9f269314838207f70fd26de9a7d5394039.tar.gz tk-6dbbfe9f269314838207f70fd26de9a7d5394039.tar.bz2 |
Silence some compiler warnings
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 5cdfb3c..763f544 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -471,7 +471,6 @@ TkpComputeButtonGeometry( } /* -/* *---------------------------------------------------------------------- * * DrawButtonImageAndText -- @@ -966,12 +965,10 @@ ButtonContentDrawCB ( { TkButton *butPtr = (TkButton *)ptr; Tk_Window tkwin = butPtr->tkwin; - HIRect * bounds; if (tkwin == NULL || !Tk_IsMapped(tkwin)) { return; } - MacDrawable *macWin = (MacDrawable *) Tk_WindowId(tkwin); /*Overlay Tk elements over button native region: drawing elements within button boundaries/native region causes unpredictable metrics.*/ DrawButtonImageAndText( butPtr); |