summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authordas <das>2008-12-07 16:36:26 (GMT)
committerdas <das>2008-12-07 16:36:26 (GMT)
commit229640003624b9acf35b7559855fc8e418596943 (patch)
tree8343c03839d48107a18cd481a76218ca027be613 /macosx/tkMacOSXWm.c
parent60d0a500c50280e9919498d5ff61635de5e1d453 (diff)
downloadtk-229640003624b9acf35b7559855fc8e418596943.zip
tk-229640003624b9acf35b7559855fc8e418596943.tar.gz
tk-229640003624b9acf35b7559855fc8e418596943.tar.bz2
Remove/disable dead code flagged by clang static analyzer
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index bf2100b..96605c8 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXWm.c,v 1.72 2008/11/18 23:49:43 nijtmans Exp $
+ * RCS: @(#) $Id: tkMacOSXWm.c,v 1.73 2008/12/07 16:36:26 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -3337,7 +3337,6 @@ UpdateGeometryInfo(
TkWindow *winPtr = clientData;
WmInfo *wmPtr = winPtr->wmInfoPtr;
int x, y, width, height, min, max;
- unsigned long serial;
wmPtr->flags &= ~WM_UPDATE_PENDING;
@@ -3502,7 +3501,6 @@ UpdateGeometryInfo(
}
return;
}
- serial = NextRequest(winPtr->display);
if (wmPtr->flags & WM_MOVE_PENDING) {
wmPtr->configWidth = width;
wmPtr->configHeight = height;