diff options
author | smatz <smatz@openttd.org> | 2009-03-06 00:41:58 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-03-06 00:41:58 +0000 |
commit | 9c6d6c0d0edba265c73c04901d0f2155173407b8 (patch) | |
tree | cb13c185a300c1223de323ae35605430bc795800 | |
parent | 488b7e6bf64c170cea33f109088df261f198fc99 (diff) | |
download | openttd-9c6d6c0d0edba265c73c04901d0f2155173407b8.tar.xz |
(svn r15625) -Codechange: remove unneeded assert
-rw-r--r-- | src/string.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index f01786a97..52dfc260c 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -118,7 +118,6 @@ void str_validate(char *str, bool allow_newlines, bool ignore) str += len; continue; } - assert(c != '\r'); /* Replace the undesirable character with a question mark */ str += len; if (!ignore) *dst++ = '?'; |