Remove unused and unreachable code
[novacoin.git] / src / util.cpp
index a5427c0..c1e3c5a 100644 (file)
@@ -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);