summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-22 21:47:03 +0000
committerrubidium <rubidium@openttd.org>2013-11-22 21:47:03 +0000
commitbdd62a4b3e3df6282122a7c4353e6fef632f9c32 (patch)
treefcbc5288aba44eb720438bf7e0eb2354b06f6156 /src
parent0eaa8fbfcd38875305012af9ddc845586d8580d8 (diff)
downloadopenttd-bdd62a4b3e3df6282122a7c4353e6fef632f9c32.tar.xz
(svn r26055) -Codechange: mark switch default as really not triggerable, as technically it's dead code
Diffstat (limited to 'src')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 7d2e47dbc..615710465 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -835,7 +835,7 @@ public:
/* jump to end */
this->list_pos = this->servers.Length() - 1;
break;
- default: break;
+ default: NOT_REACHED();
}
this->server = this->servers[this->list_pos];