mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 07:29:10 +00:00
(svn r13141) -Codechange: remove an unused variable from Window.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user