summaryrefslogtreecommitdiffstats
path: root/generic/tkFocus.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-14 12:30:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-14 12:30:44 (GMT)
commit08e4f14e0f32d64cd4cbb48601cccbaf525a272a (patch)
tree70ef17719443403ed14aa30905f3187fa8a14bb2 /generic/tkFocus.c
parente0b895874d5fa39f6d4134b407e930b80ee3ecd7 (diff)
downloadtk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.zip
tk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.tar.gz
tk-08e4f14e0f32d64cd4cbb48601cccbaf525a272a.tar.bz2
Eliminate some more unneeded write-only variables (discovered by gcc-4.6)
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 17482aa..0448dc9 100644
--- a/generic/tkFocus.c
+++ b/generic/tkFocus.c
@@ -1067,10 +1067,9 @@ TkFocusSplit(
* new toplevel. */
{
ToplevelFocusInfo *tlFocusPtr;
- DisplayFocusInfo *displayFocusPtr;
TkWindow *topLevelPtr, *subWinPtr;
- displayFocusPtr = FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);
+ FindDisplayFocusInfo(winPtr->mainPtr, winPtr->dispPtr);
/*
* Find the top-level window for winPtr, then find (or create) a record