diff options
author | das <das> | 2008-12-07 16:36:26 (GMT) |
---|---|---|
committer | das <das> | 2008-12-07 16:36:26 (GMT) |
commit | 229640003624b9acf35b7559855fc8e418596943 (patch) | |
tree | 8343c03839d48107a18cd481a76218ca027be613 /macosx/tkMacOSXMenus.c | |
parent | 60d0a500c50280e9919498d5ff61635de5e1d453 (diff) | |
download | tk-229640003624b9acf35b7559855fc8e418596943.zip tk-229640003624b9acf35b7559855fc8e418596943.tar.gz tk-229640003624b9acf35b7559855fc8e418596943.tar.bz2 |
Remove/disable dead code flagged by clang static analyzer
Diffstat (limited to 'macosx/tkMacOSXMenus.c')
-rw-r--r-- | macosx/tkMacOSXMenus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXMenus.c b/macosx/tkMacOSXMenus.c index e1b0446..89867fe 100644 --- a/macosx/tkMacOSXMenus.c +++ b/macosx/tkMacOSXMenus.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXMenus.c,v 1.22 2008/10/05 18:22:21 dkf Exp $ + * RCS: @(#) $Id: tkMacOSXMenus.c,v 1.23 2008/12/07 16:36:26 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -376,7 +376,7 @@ GenerateEditEvent( XQueryPointer(NULL, None, NULL, NULL, &event.x_root, &event.y_root, &x, &y, &event.state); - tkwin = Tk_TopCoordsToWindow(tkwin, x, y, &event.x, &event.y); + Tk_TopCoordsToWindow(tkwin, x, y, &event.x, &event.y); event.same_screen = true; switch (flag) { |