# HG changeset patch # User skidd13 # Date 2008-11-02 11:41:13 # Node ID 144069c8046c940a81b2c5509f0509c246779394 # Parent f5dd8637a83775bae28682bf7064310a21eb4e86 (svn r14557) -Codechange: Remove a redundant line of code diff --git a/src/string.cpp b/src/string.cpp --- a/src/string.cpp +++ b/src/string.cpp @@ -78,7 +78,6 @@ char* strecpy(char* dst, const char* src error("String too long for destination buffer"); #else /* STRGEN */ DEBUG(misc, 0, "String too long for destination buffer"); - *dst = '\0'; #endif /* STRGEN */ } return dst;