sparse fixup: warning: Using plain integer as NULL pointer
[tinc] / src / protocol.c
index 230ee3b..fd90894 100644 (file)
@@ -178,7 +178,7 @@ static void free_past_request(past_request_t *r) {
 static struct event past_request_event;
 
 bool seen_request(char *request) {
-       past_request_t *new, p = {0};
+       past_request_t *new, p = {NULL};
 
        p.request = request;