summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:40:33 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:40:33 +0000
commit701f0670f77521b2fb82a242570c85fa7dc7cf39 (patch)
tree16c14fa1658ce39299c941554b3ee56e193445c0
parent2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de> (diff)
downloadlibbsdport-701f0670f77521b2fb82a242570c85fa7dc7cf39.tar.bz2
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/ifmedia.c: fixed 'unused variable' warning by removing unused var.
-rw-r--r--bsd_eth_drivers/libbsdport/ifmedia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd_eth_drivers/libbsdport/ifmedia.c b/bsd_eth_drivers/libbsdport/ifmedia.c
index 719e020..dc85dfd 100644
--- a/bsd_eth_drivers/libbsdport/ifmedia.c
+++ b/bsd_eth_drivers/libbsdport/ifmedia.c
@@ -53,7 +53,7 @@ struct ifmedia_entry *ifmen, *ifmep, *ifme;
void
ifmedia_removeall(struct ifmedia *ifm)
{
-struct ifmedia_entry *ifmen, *ifmep, *ifme;
+struct ifmedia_entry *ifmen, *ifmep;
for ( ifmep = LIST_FIRST(&ifm->ifm_list); ifmep; ifmep = ifmen ) {
ifmen = LIST_NEXT(ifmep, ifm_list);
free(ifmep, M_DEVBUF);