mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 23:28:18 -04:00
Silence annoying compiler warning
This commit is contained in:
parent
f8c597fd51
commit
21bec6f6fb
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 1998, 1999 Internet Software Consortium.
|
||||
* Copyright (C) 1999 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
|
@ -37,6 +37,10 @@ main(int argc, char *argv[])
|
|||
isc_mempool_t *mp1, *mp2;
|
||||
unsigned int i, j;
|
||||
|
||||
/* Silence annoying compiler warning. */
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
mctx = NULL;
|
||||
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue