mirror of https://github.com/OpenTTD/OpenTTD
(svn r15625) -Codechange: remove unneeded assert
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