summaryrefslogtreecommitdiff
path: root/src/order_backup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_backup.cpp')
-rw-r--r--src/order_backup.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/order_backup.cpp b/src/order_backup.cpp
index 181e3e59d..1d490e726 100644
--- a/src/order_backup.cpp
+++ b/src/order_backup.cpp
@@ -193,11 +193,7 @@ CommandCost CmdClearOrderBackup(TileIndex tile, DoCommandFlag flags, uint32 p1,
* but compiled it. A network client has its own variable for the unique
* client/user identifier. Finally if networking isn't compiled in the
* default is just plain and simple: 0. */
-#ifdef ENABLE_NETWORK
uint32 user = _networking && !_network_server ? _network_own_client_id : CLIENT_ID_SERVER;
-#else
- uint32 user = 0;
-#endif
OrderBackup *ob;
FOR_ALL_ORDER_BACKUPS(ob) {