1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 15:09:10 +00:00

(svn r3298) Remove unused and write-only variables

This commit is contained in:
tron
2005-12-14 06:28:48 +00:00
parent 23bfc03054
commit bf98086de8
10 changed files with 3 additions and 54 deletions

View File

@@ -29,7 +29,6 @@
static bool _fios_path_changed;
static bool _savegame_sort_dirty;
static bool _query_string_active;
typedef struct LandInfoData {
Town *town;
@@ -1024,7 +1023,6 @@ press_ok:;
parent->wndproc(parent, &e);
}
}
_query_string_active = false;
CLRBIT(_no_scroll, SCROLL_EDIT);
break;
}
@@ -1082,8 +1080,6 @@ void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth,
WP(w, querystr_d).text.maxwidth = maxwidth;
WP(w, querystr_d).text.buf = _edit_str_buf;
UpdateTextBufferSize(&WP(w, querystr_d).text);
_query_string_active = true;
}
static const Widget _load_dialog_1_widgets[] = {
@@ -1380,7 +1376,6 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e)
// pause is only used in single-player, non-editor mode, non menu mode
if(!_networking && (_game_mode != GM_EDITOR) && (_game_mode != GM_MENU))
DoCommandP(0, 0, 0, NULL, CMD_PAUSE);
_query_string_active = false;
FiosFreeSavegameList();
CLRBIT(_no_scroll, SCROLL_SAVE);
break;