Fix warning
This commit is contained in:
parent
affc495c49
commit
5546cca0e7
@ -30,6 +30,7 @@ namespace console
|
|||||||
|
|
||||||
char buffer[1024]{0};
|
char buffer[1024]{0};
|
||||||
const int res = vsnprintf_s(buffer, sizeof(buffer), _TRUNCATE, fmt, ap);
|
const int res = vsnprintf_s(buffer, sizeof(buffer), _TRUNCATE, fmt, ap);
|
||||||
|
(void)res;
|
||||||
print_message(buffer);
|
print_message(buffer);
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
Loading…
Reference in New Issue
Block a user