From 6d94be75e918aabdefd428abe8f46822f38d842d Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sun, 2 Nov 2008 11:41:13 +0000 Subject: (svn r14557) -Codechange: Remove a redundant line of code --- src/string.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf