various: remove assignments of unread variables

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-09-22 17:58:11 +02:00
parent 4ffd4705fb
commit afa8ffae99
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -689,7 +689,6 @@ _public_ int sd_radv_add_route_prefix(sd_radv *ra, sd_radv_route_prefix *p, int
LIST_APPEND(prefix, ra->route_prefixes, p);
ra->n_route_prefixes++;
cur = p;
if (!dynamic) {
log_radv("Added prefix %s/%u", strempty(pretty), p->opt.prefixlen);
return 0;