changeset 10312:e319d213aff9 draft

(svn r14557) -Codechange: Remove a redundant line of code
author skidd13 <skidd13@openttd.org>
date Sun, 02 Nov 2008 11:41:13 +0000
parents 383d820d2bff
children 2f15f501b7a5
files src/string.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -78,7 +78,6 @@
 		error("String too long for destination buffer");
 #else /* STRGEN */
 		DEBUG(misc, 0, "String too long for destination buffer");
-		*dst = '\0';
 #endif /* STRGEN */
 	}
 	return dst;