Fix all -Wall -W compiler warnings.
[tinc] / src / conf.c
index 3289c58..c933f09 100644 (file)
@@ -204,7 +204,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 = {NULL};
+       subnet_t subnet = {};
 
        if(!cfg) {
                return false;