mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 00:43:21 -04:00
Merge branch 'silence-compiler-warning' into 'master'
silence "unused return value" warning See merge request isc-projects/bind9!1066
This commit is contained in:
commit
f5d8bd0853
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue