summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-17 13:04:30 +0000
committerrubidium <rubidium@openttd.org>2008-05-17 13:04:30 +0000
commitac8f0fdc7bebf80a06f2de0874e269c066ffcec0 (patch)
tree4e892fb569e9384cac0db7f49531aefdc66f6d1a /src/window.cpp
parentad6e52080c8ed09306e0f6603bb69d8af0310892 (diff)
downloadopenttd-ac8f0fdc7bebf80a06f2de0874e269c066ffcec0.tar.xz
(svn r13141) -Codechange: remove an unused variable from Window.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/window.cpp b/src/window.cpp
index a1222f17c..b728fed28 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -804,13 +804,10 @@ static Window *ForceFindDeletableWindow()
* @param widget pointer of widget array to fill the window with
*
* @post \c w->widget points to allocated memory and contains the copied widget array except for the terminating widget,
- * \c w->original_widget points to the original widgets,
* \c w->widget_count contains number of widgets in the allocated memory.
*/
static void AssignWidgetToWindow(Window *w, const Widget *widget)
{
- w->original_widget = widget;
-
if (widget != NULL) {
uint index = 1;