Remove unused and unreachable code

This commit is contained in:
Wladimir J. van der Laan
2012-04-16 11:44:05 +02:00
parent 4941aad657
commit 7fa3ad83a9
3 changed files with 0 additions and 58 deletions

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);