mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
silence "unused return value" warning
This commit is contained in:
@@ -734,8 +734,8 @@ default_memalloc(void *arg, size_t size) {
|
||||
|
||||
if (ptr == NULL && size != 0) {
|
||||
char strbuf[ISC_STRERRORSIZE];
|
||||
strerror_r(errno, strbuf, sizeof(strbuf));
|
||||
isc_error_fatal(__FILE__, __LINE__, "malloc failed: %s", strbuf);
|
||||
isc_error_fatal(__FILE__, __LINE__, "malloc failed: %s",
|
||||
strerror_r(errno, strbuf, sizeof(strbuf)));
|
||||
}
|
||||
|
||||
return (ptr);
|
||||
|
Reference in New Issue
Block a user