From 9c6d6c0d0edba265c73c04901d0f2155173407b8 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 6 Mar 2009 00:41:58 +0000 Subject: (svn r15625) -Codechange: remove unneeded assert --- src/string.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/string.cpp b/src/string.cpp index f01786a97..52dfc260c 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -118,7 +118,6 @@ void str_validate(char *str, bool allow_newlines, bool ignore) str += len; continue; } - assert(c != '\r'); /* Replace the undesirable character with a question mark */ str += len; if (!ignore) *dst++ = '?'; -- cgit v1.2.3-54-g00ecf