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/tkMacOSXMenu.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/tkMacOSXMenu.c')
-rw-r--r-- | macosx/tkMacOSXMenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c index 366b222..73ccbae 100644 --- a/macosx/tkMacOSXMenu.c +++ b/macosx/tkMacOSXMenu.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.47 2008/12/07 16:30:09 das Exp $ + * RCS: @(#) $Id: tkMacOSXMenu.c,v 1.48 2008/12/07 16:36:26 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -3194,8 +3194,8 @@ TkpComputeStandardMenuGeometry( &activeBorderWidth); x = y = borderWidth; indicatorSpace = labelWidth = accelWidth = maxAccelTextWidth = 0; - windowHeight = windowWidth = maxWidth = lastColumnBreak = 0; - maxModifierWidth = nonAccelMargin = maxNonAccelMargin = 0; + windowHeight = maxWidth = lastColumnBreak = 0; + maxModifierWidth = maxNonAccelMargin = 0; maxEntryWithAccelWidth = maxEntryWithoutAccelWidth = 0; maxIndicatorSpace = 0; @@ -3265,7 +3265,7 @@ TkpComputeStandardMenuGeometry( lastColumnBreak = i; y = borderWidth; } - geometryPtr = (EntryGeometry *) mePtr->platformEntryData; + /*geometryPtr = (EntryGeometry *) mePtr->platformEntryData;*/ /* dead code */ if (mePtr->type == SEPARATOR_ENTRY) { GetMenuSeparatorGeometry(menuPtr, mePtr, tkfont, |