Revert "Proper variable initialization"

This reverts commit bf91a8a340.
This commit is contained in:
thorkill 2015-06-30 18:10:20 +02:00
parent 54b8bc6e86
commit d661be413f

View file

@ -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) {
subnet_t subnet;
memset(&subnet, 0x0, sizeof(subnet_t));
subnet_t subnet = {NULL};
if(!cfg)
return false;