summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-12-14 06:28:48 +0000
committertron <tron@openttd.org>2005-12-14 06:28:48 +0000
commita2533d5ee6b637274c18b623d1baf10740bb9f28 (patch)
tree7efaf8780f89086574128eced521726184ff5f5b /network_gui.c
parent9822b4d755ba1bcc126643cd21a2c4362a4026d9 (diff)
downloadopenttd-a2533d5ee6b637274c18b623d1baf10740bb9f28.tar.xz
(svn r3298) Remove unused and write-only variables
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index 81a336c60..8da59c644 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -694,7 +694,6 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e)
if (_selected_company_item != -1) { // if a company is selected...
// show company info
const uint x = 183;
- uint xm;
y = 65;
SetDParamStr(0, _network_player_info[_selected_company_item].company_name);
@@ -738,7 +737,7 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e)
y += 10;
SetDParamStr(0, _network_player_info[_selected_company_item].players);
- xm = DrawString(x, y, STR_NETWORK_PLAYERS, 2); // players
+ DrawString(x, y, STR_NETWORK_PLAYERS, 2); // players
y += 10;
}
} break;