Changeset - r25521:e92cb7deab9a
[Not reviewed]
master
0 1 0
rubidium42 - 3 years ago 2021-05-26 19:28:13
rubidium@openttd.org
Cleanup: remove dead code; ++ on ostreambuf_iterator is a no-op
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_text.cpp
Show inline comments
 
@@ -398,7 +398,6 @@ std::string TranslateTTDPatchCodes(uint3
 
							int index = (code == 0x10 ? *src++ : 0);
 
							if (mapping->strings.find(index) != mapping->strings.end()) {
 
								grfmsg(1, "duplicate choice list string, ignoring");
 
								d++;
 
							} else {
 
								d = std::ostreambuf_iterator<char>(mapping->strings[index]);
 
							}
0 comments (0 inline, 0 general)