]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove dead store.
authorRoy Marples <roy@marples.name>
Wed, 2 Jul 2014 11:10:46 +0000 (11:10 +0000)
committerRoy Marples <roy@marples.name>
Wed, 2 Jul 2014 11:10:46 +0000 (11:10 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 223691809ace84fcf7c9d3acdd73a1388494fecf..7201848eec8343fccd05827e5374c7c4f709946b 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -2925,7 +2925,6 @@ ssize_t
 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 @@ dhcp6_env(char **env, const char *prefix, const struct interface *ifp,
                return -1;
        }
 
-       state = D6_CSTATE(ifp);
        n = 0;
        ifo = ifp->options;
        ctx = ifp->ctx;