Fix all -Wall -W compiler warnings.
[oweals/tinc.git] / src / conf.c
index 3289c587ea12f10d32232ddf15ac14ef9a91a3ef..c933f0992c3b86c826f46fb6ae252b1cee1df9fd 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;