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 | 6d94be75e918aabdefd428abe8f46822f38d842d (patch) | |
tree | 455553478660bd1499624fc58c288470c55aa78b /src | |
parent | f8ed412b40a95007e3cb938ffc6b7a6de838c3f6 (diff) | |
download | openttd-6d94be75e918aabdefd428abe8f46822f38d842d.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; |