sparse fixup: warning: Using plain integer as NULL pointer
[tinc] / src / conf.c
index 30ac585..593cd0c 100644 (file)
@@ -188,7 +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 = {0};
+       subnet_t subnet = {NULL};
 
        if(!cfg)
                return false;