diff options
author | skidd13 <skidd13@openttd.org> | 2008-11-02 11:41:13 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2008-11-02 11:41:13 +0000 |
commit | 609a635facb6f07a2fc510304b2163cda41286bb (patch) | |
tree | 455553478660bd1499624fc58c288470c55aa78b /src | |
parent | 64b76d94270e6caaa12ba9a1dac4e92804cc3c80 (diff) | |
download | openttd-609a635facb6f07a2fc510304b2163cda41286bb.tar.xz |
(svn r14557) -Codechange: Remove a redundant line of code
Diffstat (limited to 'src')
-rw-r--r-- | src/string.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index 23cd97b92..e9338e922 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -78,7 +78,6 @@ char* strecpy(char* dst, const char* src, const char* last) error("String too long for destination buffer"); #else /* STRGEN */ DEBUG(misc, 0, "String too long for destination buffer"); - *dst = '\0'; #endif /* STRGEN */ } return dst; |