strip -> $(STRIP); fix "unused variable" warning

(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
This commit is contained in:
Denis Vlasenko 2006-10-16 18:24:57 +00:00
parent 5f03158f66
commit 4e33e07f60
2 changed files with 2 additions and 2 deletions

View File

@ -681,7 +681,7 @@ busybox_unstripped: $(busybox-all) FORCE
$(Q)rm -f .old_version $(Q)rm -f .old_version
busybox: busybox_unstripped busybox: busybox_unstripped
$(Q)strip -s --remove-section=.note --remove-section=.comment \ $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \
busybox_unstripped -o $@ busybox_unstripped -o $@
# The actual objects are generated when descending, # The actual objects are generated when descending,

View File

@ -1099,7 +1099,6 @@ int ifupdown_main(int argc, char **argv)
llist_t *target_list = NULL; llist_t *target_list = NULL;
const char *interfaces = "/etc/network/interfaces"; const char *interfaces = "/etc/network/interfaces";
int any_failures = 0; int any_failures = 0;
int i;
if (applet_name[2] == 'u') { if (applet_name[2] == 'u') {
/* ifup command */ /* ifup command */
@ -1188,6 +1187,7 @@ int ifupdown_main(int argc, char **argv)
struct mapping_defn_t *currmap; struct mapping_defn_t *currmap;
for (currmap = defn->mappings; currmap; currmap = currmap->next) { for (currmap = defn->mappings; currmap; currmap = currmap->next) {
int i;
for (i = 0; i < currmap->n_matches; i++) { for (i = 0; i < currmap->n_matches; i++) {
if (fnmatch(currmap->match[i], liface, 0) != 0) if (fnmatch(currmap->match[i], liface, 0) != 0)
continue; continue;