]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove redundant assignment
authorRoy Marples <roy@marples.name>
Sun, 19 Aug 2018 20:07:09 +0000 (21:07 +0100)
committerRoy Marples <roy@marples.name>
Sun, 19 Aug 2018 20:07:09 +0000 (21:07 +0100)
src/dhcp6.c

index 399f3785b368e0b33c0bf0fc1080d505778e5522..155bcb0ac14f9c2b45ee49a2072e1b18ca343dd0 100644 (file)
@@ -777,7 +777,6 @@ dhcp6_makemessage(struct interface *ifp)
                /* FALLTHROUGH */
        case DH6S_INIT:
                for (l = 0; l < ifo->ia_len; l++) {
-                       ifia = &ifo->ia[l];
                        len += sizeof(o) + sizeof(uint32_t); /* IAID */
                        /* IA_TA does not have T1 or T2 timers */
                        if (ifo->ia[l].ia_type != D6_OPTION_IA_TA)