summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util.cc b/src/util.cc
index 8628fdb2..ff6c93c5 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -707,8 +707,7 @@ static void trigger_text_to_ascii(char **bufptr, const char **strptr)
*s++ = (char)13;
*bufptr = s;
- *strptr = str; /* where **strptr == ']' */
- return;
+ *strptr = str;
}
@@ -2287,9 +2286,6 @@ void text_out_to_file(byte a, const char *str)
/* Skip whitespace */
while (*s == ' ') s++;
}
-
- /* We are done */
- return;
}