summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
diff options
context:
space:
mode:
authorjan <jan>2011-04-21 22:56:32 (GMT)
committerjan <jan>2011-04-21 22:56:32 (GMT)
commitbfadafaee53e84d53076880ad0e586c7d36ce96c (patch)
treea4cc85c0cdda71d52b014f37848220d704e623ed /generic/tkFocus.c
parent6b6a8249cce424ab3388f1c2a36849549beccf92 (diff)
downloadtk-bfadafaee53e84d53076880ad0e586c7d36ce96c.zip
tk-bfadafaee53e84d53076880ad0e586c7d36ce96c.tar.gz
tk-bfadafaee53e84d53076880ad0e586c7d36ce96c.tar.bz2
eliminate unneeded variable displayFocusPtr
Diffstat (limited to 'generic/tkFocus.c')
-rw-r--r--generic/tkFocus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkFocus.c b/generic/tkFocus.c
index e00c4e2..37027b3 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -1077,11 +1077,10 @@ TkFocusSplit(winPtr)
* must be moved to this new toplevel */
{
ToplevelFocusInfo *tlFocusPtr;
- DisplayFocusInfo *displayFocusPtr;
TkWindow *topLevelPtr;
TkWindow *subWinPtr;
- displayFocusPtr = FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);
+ FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);
/*
* Find the top-level window for winPtr, then find (or create)