1
0
Fork 0

[error] suppress warning

This commit is contained in:
Witold Filipczyk 2022-06-25 16:19:56 +02:00
parent 797f1e8a8f
commit 534344ce35
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ elinks_assertm(int x, const char *fmt, ...)
if (!(assert_failed = !x)) return;
va_start(params, fmt);
vasprintf((char **) &buf, fmt, params);
(void)!vasprintf((char **) &buf, fmt, params);
va_end(params);
elinks_internal("assertion failed: %s", buf);
if (buf) free(buf);