aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/libarchive/lzo1x_9x.c2
-rw-r--r--archival/lzop.c1
-rw-r--r--loginutils/add-remove-shell.c1
-rw-r--r--miscutils/devfsd.c1
-rw-r--r--util-linux/dmesg.c1
-rw-r--r--util-linux/lspci.c1
-rw-r--r--util-linux/volume_id/unused_lvm.c1
7 files changed, 0 insertions, 8 deletions
diff --git a/archival/libarchive/lzo1x_9x.c b/archival/libarchive/lzo1x_9x.c
index df26b375f..2c405b636 100644
--- a/archival/libarchive/lzo1x_9x.c
+++ b/archival/libarchive/lzo1x_9x.c
@@ -797,7 +797,6 @@ static int lzo1x_999_compress_internal(const uint8_t *in, unsigned in_len,
797 if (swd->use_best_off) 797 if (swd->use_best_off)
798 better_match(swd, &m_len, &m_off); 798 better_match(swd, &m_len, &m_off);
799#endif 799#endif
800
801 /* shall we try a lazy match ? */ 800 /* shall we try a lazy match ? */
802 ahead = 0; 801 ahead = 0;
803 if (m_len >= max_lazy) { 802 if (m_len >= max_lazy) {
@@ -811,7 +810,6 @@ static int lzo1x_999_compress_internal(const uint8_t *in, unsigned in_len,
811 max_ahead = LZO_MIN(2, (unsigned)l1 - 1); 810 max_ahead = LZO_MIN(2, (unsigned)l1 - 1);
812 } 811 }
813 812
814
815 while (ahead < max_ahead && c->look > m_len) { 813 while (ahead < max_ahead && c->look > m_len) {
816 int lazy_match_min_gain; 814 int lazy_match_min_gain;
817 815
diff --git a/archival/lzop.c b/archival/lzop.c
index bdcc6d548..98587e8dd 100644
--- a/archival/lzop.c
+++ b/archival/lzop.c
@@ -208,7 +208,6 @@ static NOINLINE int lzo1x_optimize(uint8_t *in, unsigned in_len,
208 lit = 0; 208 lit = 0;
209 goto match_done; 209 goto match_done;
210 210
211
212 /* handle matches */ 211 /* handle matches */
213 do { 212 do {
214 if (t < 16) { /* a M1 match */ 213 if (t < 16) { /* a M1 match */
diff --git a/loginutils/add-remove-shell.c b/loginutils/add-remove-shell.c
index 2470050e7..ff54ab5db 100644
--- a/loginutils/add-remove-shell.c
+++ b/loginutils/add-remove-shell.c
@@ -64,7 +64,6 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv)
64 if (orig_fp) 64 if (orig_fp)
65 xfstat(fileno(orig_fp), &sb, orig_fn); 65 xfstat(fileno(orig_fp), &sb, orig_fn);
66 66
67
68 new_fn = xasprintf("%s.tmp", orig_fn); 67 new_fn = xasprintf("%s.tmp", orig_fn);
69 /* 68 /*
70 * O_TRUNC or O_EXCL? At the first glance, O_EXCL looks better, 69 * O_TRUNC or O_EXCL? At the first glance, O_EXCL looks better,
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 642cd3637..d57691414 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -962,7 +962,6 @@ static void action_compat(const struct devfsd_notify_struct *info, unsigned int
962 dest_name = dest_buf; 962 dest_name = dest_buf;
963 compat_name = compat_buf; 963 compat_name = compat_buf;
964 964
965
966 /* 1 == scsi/generic 2 == scsi/disc 3 == scsi/cd 6 == ide/host/disc 7 == ide/host/cd */ 965 /* 1 == scsi/generic 2 == scsi/disc 3 == scsi/cd 6 == ide/host/disc 7 == ide/host/cd */
967 if (i == 1 || i == 2 || i == 3 || i == 6 || i ==7) 966 if (i == 1 || i == 2 || i == 3 || i == 6 || i ==7)
968 sprintf(compat_buf, fmt[i], host, bus, target, lun); 967 sprintf(compat_buf, fmt[i], host, bus, target, lun);
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c
index 5d8f01a64..39eecc345 100644
--- a/util-linux/dmesg.c
+++ b/util-linux/dmesg.c
@@ -91,7 +91,6 @@ int dmesg_main(int argc UNUSED_PARAM, char **argv)
91 if (len == 0) 91 if (len == 0)
92 return EXIT_SUCCESS; 92 return EXIT_SUCCESS;
93 93
94
95 if (ENABLE_FEATURE_DMESG_PRETTY && !(opts & OPT_r)) { 94 if (ENABLE_FEATURE_DMESG_PRETTY && !(opts & OPT_r)) {
96 int last = '\n'; 95 int last = '\n';
97 int in = 0; 96 int in = 0;
diff --git a/util-linux/lspci.c b/util-linux/lspci.c
index 25be23a01..1a43f71e2 100644
--- a/util-linux/lspci.c
+++ b/util-linux/lspci.c
@@ -81,7 +81,6 @@ static int FAST_FUNC fileAction(struct recursive_state *state UNUSED_PARAM,
81 } 81 }
82 config_close(parser); 82 config_close(parser);
83 83
84
85 if (option_mask32 & OPT_m) { 84 if (option_mask32 & OPT_m) {
86 printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"", 85 printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"",
87 pci_slot_name, pci_class, pci_vid, pci_did, 86 pci_slot_name, pci_class, pci_vid, pci_did,
diff --git a/util-linux/volume_id/unused_lvm.c b/util-linux/volume_id/unused_lvm.c
index 649306c85..512aa7962 100644
--- a/util-linux/volume_id/unused_lvm.c
+++ b/util-linux/volume_id/unused_lvm.c
@@ -74,7 +74,6 @@ int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off)
74 if (buf == NULL) 74 if (buf == NULL)
75 return -1; 75 return -1;
76 76
77
78 for (soff = 0; soff < LVM2LABEL_SCAN_SECTORS * 0x200; soff += 0x200) { 77 for (soff = 0; soff < LVM2LABEL_SCAN_SECTORS * 0x200; soff += 0x200) {
79 lvm = (struct lvm2_super_block *) &buf[soff]; 78 lvm = (struct lvm2_super_block *) &buf[soff];
80 79