Roy's Projects
/
dhcpcd-ui
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ed827bd
)
Remove unused variable.
author
Roy Marples
<roy@marples.name>
Wed, 3 Sep 2014 13:24:52 +0000
(13:24 +0000)
committer
Roy Marples
<roy@marples.name>
Wed, 3 Sep 2014 13:24:52 +0000
(13:24 +0000)
src/libdhcpcd/dhcpcd.c
patch
|
blob
|
history
diff --git
a/src/libdhcpcd/dhcpcd.c
b/src/libdhcpcd/dhcpcd.c
index 1bc2b13cbb4a62d6f707ecbf780776eb5598ef06..87539340303c4f07ddc47f4a53e3ab08ddf0cba3 100644
(file)
--- a/
src/libdhcpcd/dhcpcd.c
+++ b/
src/libdhcpcd/dhcpcd.c
@@
-573,7
+573,6
@@
dhcpcd_open(DHCPCD_CONNECTION *con)
char cmd[128];
ssize_t bytes;
size_t nifs, n;
char cmd[128];
ssize_t bytes;
size_t nifs, n;
- DHCPCD_IF *i;
assert(con);
if (con->open) {
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++)
/* 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);
update_status(con, NULL);