mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 17:39:09 +00:00
(svn r15625) -Codechange: remove unneeded assert
This commit is contained in:
@@ -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++ = '?';
|
||||
|
Reference in New Issue
Block a user