diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-16 18:24:57 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-16 18:24:57 +0000 |
| commit | 4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6 (patch) | |
| tree | b4b826f9131cc411148bc99f81ac74283122c84f | |
| parent | 5f03158f66dc2c73b052307f3871c4341fbabb8e (diff) | |
| download | busybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.tar.gz busybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.tar.bz2 busybox-w32-4e33e07f6096f9fa8ebc04a29cee5c0b28ea13a6.zip | |
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | networking/ifupdown.c | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -681,7 +681,7 @@ busybox_unstripped: $(busybox-all) FORCE | |||
| 681 | $(Q)rm -f .old_version | 681 | $(Q)rm -f .old_version |
| 682 | 682 | ||
| 683 | busybox: busybox_unstripped | 683 | busybox: busybox_unstripped |
| 684 | $(Q)strip -s --remove-section=.note --remove-section=.comment \ | 684 | $(Q)$(STRIP) -s --remove-section=.note --remove-section=.comment \ |
| 685 | busybox_unstripped -o $@ | 685 | busybox_unstripped -o $@ |
| 686 | 686 | ||
| 687 | # The actual objects are generated when descending, | 687 | # The actual objects are generated when descending, |
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 00eb576f4..45407f9f4 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
| @@ -1099,7 +1099,6 @@ int ifupdown_main(int argc, char **argv) | |||
| 1099 | llist_t *target_list = NULL; | 1099 | llist_t *target_list = NULL; |
| 1100 | const char *interfaces = "/etc/network/interfaces"; | 1100 | const char *interfaces = "/etc/network/interfaces"; |
| 1101 | int any_failures = 0; | 1101 | int any_failures = 0; |
| 1102 | int i; | ||
| 1103 | 1102 | ||
| 1104 | if (applet_name[2] == 'u') { | 1103 | if (applet_name[2] == 'u') { |
| 1105 | /* ifup command */ | 1104 | /* ifup command */ |
| @@ -1188,6 +1187,7 @@ int ifupdown_main(int argc, char **argv) | |||
| 1188 | struct mapping_defn_t *currmap; | 1187 | struct mapping_defn_t *currmap; |
| 1189 | 1188 | ||
| 1190 | for (currmap = defn->mappings; currmap; currmap = currmap->next) { | 1189 | for (currmap = defn->mappings; currmap; currmap = currmap->next) { |
| 1190 | int i; | ||
| 1191 | for (i = 0; i < currmap->n_matches; i++) { | 1191 | for (i = 0; i < currmap->n_matches; i++) { |
| 1192 | if (fnmatch(currmap->match[i], liface, 0) != 0) | 1192 | if (fnmatch(currmap->match[i], liface, 0) != 0) |
| 1193 | continue; | 1193 | continue; |
