Remove unused variable.
authorRoy Marples <roy@marples.name>
Wed, 3 Sep 2014 13:24:52 +0000 (13:24 +0000)
committerRoy Marples <roy@marples.name>
Wed, 3 Sep 2014 13:24:52 +0000 (13:24 +0000)
src/libdhcpcd/dhcpcd.c

index 1bc2b13cbb4a62d6f707ecbf780776eb5598ef06..87539340303c4f07ddc47f4a53e3ab08ddf0cba3 100644 (file)
@@ -573,7 +573,6 @@ dhcpcd_open(DHCPCD_CONNECTION *con)
        char cmd[128];
        ssize_t bytes;
        size_t nifs, n;
-       DHCPCD_IF *i;
 
        assert(con);
        if (con->open) {
@@ -612,7 +611,7 @@ dhcpcd_open(DHCPCD_CONNECTION *con)
        /* We don't dispatch each interface here as that
         * causes too much notification spam when the GUI starts */
        for (n = 0; n < nifs; n++)
-               i = dhcpcd_read_if(con, con->command_fd);
+               dhcpcd_read_if(con, con->command_fd);
 
        update_status(con, NULL);