Commit 021cc482 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Avoid a spurious compiler warning.

parent 2d0594e5
...@@ -314,13 +314,13 @@ parse_filter(gnc_t gnc, void *closure) ...@@ -314,13 +314,13 @@ parse_filter(gnc_t gnc, void *closure)
goto error; goto error;
filter->plen_ge = MAX(filter->plen_ge, p); filter->plen_ge = MAX(filter->plen_ge, p);
} else if(strcmp(token, "neigh") == 0) { } else if(strcmp(token, "neigh") == 0) {
unsigned char *neigh; unsigned char *neigh = NULL;
c = getip(c, &neigh, NULL, gnc, closure); c = getip(c, &neigh, NULL, gnc, closure);
if(c < -1) if(c < -1)
goto error; goto error;
filter->neigh = neigh; filter->neigh = neigh;
} else if(strcmp(token, "id") == 0) { } else if(strcmp(token, "id") == 0) {
unsigned char *id; unsigned char *id = NULL;
c = getid(c, &id, gnc, closure); c = getid(c, &id, gnc, closure);
if(c < -1) if(c < -1)
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment