fix compiling warnings in GCC

This commit is contained in:
justgo97
2021-03-03 22:23:52 +01:00
committed by aurhat
parent 05003f9238
commit c54e9564bb
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -396,7 +396,9 @@ void addmsg(int type, const char *fmt, ...)
case 's':
{
const char *t = va_arg(args, const char *);
if(t) sendstring(t, p); nums++; break;
if(t) sendstring(t, p);
nums++;
break;
}
}
va_end(args);