From 4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Oct 2006 18:24:57 +0000 Subject: strip -> $(STRIP); fix "unused variable" warning (patch by Diekema, Jon (AGRE) ) --- networking/ifupdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking') diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 00eb576..45407f9 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -1099,7 +1099,6 @@ int ifupdown_main(int argc, char **argv) llist_t *target_list = NULL; const char *interfaces = "/etc/network/interfaces"; int any_failures = 0; - int i; if (applet_name[2] == 'u') { /* ifup command */ @@ -1188,6 +1187,7 @@ int ifupdown_main(int argc, char **argv) struct mapping_defn_t *currmap; for (currmap = defn->mappings; currmap; currmap = currmap->next) { + int i; for (i = 0; i < currmap->n_matches; i++) { if (fnmatch(currmap->match[i], liface, 0) != 0) continue; -- cgit v1.1