diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index a5427c061b..c1e3c5a806 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -301,7 +301,6 @@ bool error(const char *format, ...) va_end(arg_ptr); if (ret < 0 || ret >= limit) { - ret = limit - 1; buffer[limit-1] = 0; } printf("ERROR: %s\n", buffer); |