summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan <jan>2011-04-21 22:56:32 (GMT)
committerjan <jan>2011-04-21 22:56:32 (GMT)
commit98811ad6e4133460d650c026452187d6eaef904d (patch)
treea4cc85c0cdda71d52b014f37848220d704e623ed /generic
parent263a13f6c2ec2175eaf67ca3485c6fabd8d5f918 (diff)
downloadtk-98811ad6e4133460d650c026452187d6eaef904d.zip
tk-98811ad6e4133460d650c026452187d6eaef904d.tar.gz
tk-98811ad6e4133460d650c026452187d6eaef904d.tar.bz2
eliminate unneeded variable displayFocusPtr
Diffstat (limited to 'generic')
-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)