mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-18 08:47:00 +00:00
build: smatch compiler warnings fixed
dhcpd-pools.c:221:20: warning: non-ANSI function declaration of function 'prepare_memory' getdata.c +178 parse_leases(112) error: potential null derefence 'macstring'. getdata.c +179 parse_leases(113) error: potential null derefence 'macaddr_p'. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
cf2b3ace16
commit
f6807f8a6d
2 changed files with 9 additions and 7 deletions
|
|
@ -218,7 +218,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
/* Global allocations, counter resets etc */
|
||||
int prepare_memory()
|
||||
int prepare_memory(void)
|
||||
{
|
||||
RANGES = 64;
|
||||
num_ranges = num_shared_networks = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue