diff options
author | rubidium <rubidium@openttd.org> | 2013-11-22 21:47:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-22 21:47:03 +0000 |
commit | bdd62a4b3e3df6282122a7c4353e6fef632f9c32 (patch) | |
tree | fcbc5288aba44eb720438bf7e0eb2354b06f6156 | |
parent | 0eaa8fbfcd38875305012af9ddc845586d8580d8 (diff) | |
download | openttd-bdd62a4b3e3df6282122a7c4353e6fef632f9c32.tar.xz |
(svn r26055) -Codechange: mark switch default as really not triggerable, as technically it's dead code
-rw-r--r-- | src/network/network_gui.cpp | 2 |
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]; |