summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-02 22:11:52 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-02 22:11:52 (GMT)
commitee358582c2d8523735c9ced019bf3cf6cb93c8bf (patch)
tree674f06f046f178120d692a4e869e258e061e145b /generic
parent6f5c15a19cfde23dcdf2fa157717f1f367ab4d29 (diff)
downloadtk-ee358582c2d8523735c9ced019bf3cf6cb93c8bf.zip
tk-ee358582c2d8523735c9ced019bf3cf6cb93c8bf.tar.gz
tk-ee358582c2d8523735c9ced019bf3cf6cb93c8bf.tar.bz2
unneccessary variable
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBind.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tkBind.c b/generic/tkBind.c
index fc212cb..3003f18 100644
--- a/generic/tkBind.c
+++ b/generic/tkBind.c
@@ -2625,21 +2625,13 @@ ExpandPercents(winPtr, before, eventPtr, keySym, dsPtr)
}
case 'X':
if (flags & KEY_BUTTON_MOTION_CROSSING) {
- Tk_Window tkwin;
-
number = eventPtr->xkey.x_root;
- tkwin = Tk_IdToWindow(eventPtr->xany.display,
- eventPtr->xany.window);
goto doNumber;
}
goto doString;
case 'Y':
if (flags & KEY_BUTTON_MOTION_CROSSING) {
- Tk_Window tkwin;
-
number = eventPtr->xkey.y_root;
- tkwin = Tk_IdToWindow(eventPtr->xany.display,
- eventPtr->xany.window);
goto doNumber;
}
goto doString;