diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-10-14 19:31:14 +0100 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-10-31 12:41:49 +0100 |
commit | 52ed3bcbaa88717ab50f71150ed9fc0b6af4715a (patch) | |
tree | 3d4b4e4a0de01564dae0f9a6e92a79f7e44cbf8a /src/string.cpp | |
parent | e0c0394e373d2f3326383e79d7fcb9f4e288ae02 (diff) | |
download | openttd-52ed3bcbaa88717ab50f71150ed9fc0b6af4715a.tar.xz |
Remove: A few bits of dead code
Diffstat (limited to 'src/string.cpp')
-rw-r--r-- | src/string.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp index 521d96c4a..66140b7d4 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -351,9 +351,8 @@ bool IsValidChar(WChar key, CharSetFilter afilter) case CS_NUMERAL_SPACE: return (key >= '0' && key <= '9') || key == ' '; case CS_ALPHA: return IsPrintable(key) && !(key >= '0' && key <= '9'); case CS_HEXADECIMAL: return (key >= '0' && key <= '9') || (key >= 'a' && key <= 'f') || (key >= 'A' && key <= 'F'); + default: NOT_REACHED(); } - - return false; } #ifdef WIN32 |