diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2018-10-14 18:17:09 +0100 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-10-31 12:41:49 +0100 |
commit | e0c0394e373d2f3326383e79d7fcb9f4e288ae02 (patch) | |
tree | 0242bbb30aea2abf39ead7af8f0cf7d5fe8f0542 /src/string.cpp | |
parent | f5b1115039e41d7f75f91e7355003f10dd01b352 (diff) | |
download | openttd-e0c0394e373d2f3326383e79d7fcb9f4e288ae02.tar.xz |
Fix: Remove various dead or unnecessary assignments
Diffstat (limited to 'src/string.cpp')
-rw-r--r-- | src/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index 4c714a2e0..521d96c4a 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -170,7 +170,7 @@ void str_fix_scc_encoded(char *str, const char *last) if ((len == 0 && str + 4 > last) || str + len > last) break; WChar c; - len = Utf8Decode(&c, str); + Utf8Decode(&c, str); if (c == '\0') break; if (c == 0xE028 || c == 0xE02A) { |