1
0
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:
smatz
2009-03-06 00:41:58 +00:00
parent a92cd2b72e
commit c3a7e6b693

View File

@@ -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++ = '?';