mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-18 09:55:19 +01:00
(svn r15625) -Codechange: remove unneeded assert
This commit is contained in:
parent
a92cd2b72e
commit
c3a7e6b693
@ -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++ = '?';
|
||||
|
Loading…
Reference in New Issue
Block a user