changeset 2560:0703537a18a3 draft

Remove dead store.
author Roy Marples <roy@marples.name>
date Wed, 02 Jul 2014 11:10:46 +0000
parents a9188e42b807
children bc1d537e9d8b
files dhcp6.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dhcp6.c	Wed Jul 02 10:57:18 2014 +0000
+++ b/dhcp6.c	Wed Jul 02 11:10:46 2014 +0000
@@ -2925,7 +2925,6 @@
 dhcp6_env(char **env, const char *prefix, const struct interface *ifp,
     const struct dhcp6_message *m, size_t len)
 {
-	const struct dhcp6_state *state;
 	const struct if_options *ifo;
 	struct dhcp_opt *opt, *vo;
 	const struct dhcp6_option *o;
@@ -2941,7 +2940,6 @@
 		return -1;
 	}
 
-	state = D6_CSTATE(ifp);
 	n = 0;
 	ifo = ifp->options;
 	ctx = ifp->ctx;