mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[error] suppress warning
This commit is contained in:
parent
797f1e8a8f
commit
534344ce35
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user