summaryrefslogtreecommitdiffstats
path: root/generic/tkBind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 22:11:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-02 22:11:52 (GMT)
commit50c33cdee12de7e7d382a579f2604d4738cfbc95 (patch)
tree674f06f046f178120d692a4e869e258e061e145b /generic/tkBind.c
parentf6ce17f323f35d5c06e37723848cbd7fa8f2f6fa (diff)
downloadtk-50c33cdee12de7e7d382a579f2604d4738cfbc95.zip
tk-50c33cdee12de7e7d382a579f2604d4738cfbc95.tar.gz
tk-50c33cdee12de7e7d382a579f2604d4738cfbc95.tar.bz2
unneccessary variable
Diffstat (limited to 'generic/tkBind.c')
-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;