summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-08-19 21:07:09 +0100
committerRoy Marples <roy@marples.name>2018-08-19 21:07:09 +0100
commit8f7b92f2f3e8b5780e7875792148e3b8259accb3 (patch)
treeeaf1b3642b0a56ee876411212386f996151ab630
parent2602d9907e20d890c827409c8240acafee0c4abc (diff)
downloaddhcpcd-8f7b92f2f3e8b5780e7875792148e3b8259accb3.tar.xz
Remove redundant assignment
-rw-r--r--src/dhcp6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dhcp6.c b/src/dhcp6.c
index 399f3785..155bcb0a 100644
--- a/src/dhcp6.c
+++ b/src/dhcp6.c
@@ -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)