summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp1
1 files changed, 0 insertions, 1 deletions
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++ = '?';