Revert "Proper variable initialization"
This reverts commit bf91a8a340
.
This commit is contained in:
parent
54b8bc6e86
commit
d661be413f
1 changed files with 1 additions and 3 deletions
|
@ -188,9 +188,7 @@ bool get_config_address(const config_t *cfg, struct addrinfo **result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool get_config_subnet(const config_t *cfg, subnet_t ** result) {
|
bool get_config_subnet(const config_t *cfg, subnet_t ** result) {
|
||||||
subnet_t subnet;
|
subnet_t subnet = {NULL};
|
||||||
|
|
||||||
memset(&subnet, 0x0, sizeof(subnet_t));
|
|
||||||
|
|
||||||
if(!cfg)
|
if(!cfg)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue