Remove unused and unreachable code

This commit is contained in:
Wladimir J. van der Laan
2012-04-17 18:28:02 +02:00
parent 4941aad657
commit 7fa3ad83a9
3 changed files with 0 additions and 58 deletions
-1
View 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);