summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/unused_msdos.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-29 16:43:33 +0100
committerDenys Vlasenko2013-11-29 16:43:33 +0100
commit9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (patch)
treea950fa73740d345e11ba1ce90f4fc39ee12516e6 /util-linux/volume_id/unused_msdos.c
parent1a7256ac38284caffd2a0de2250364369059be69 (diff)
downloadbusybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.zip
busybox-9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1.tar.gz
fix assorted unused code and wrong format specs found by cppchekc (bug 6716)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/unused_msdos.c')
-rw-r--r--util-linux/volume_id/unused_msdos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/volume_id/unused_msdos.c b/util-linux/volume_id/unused_msdos.c
index d2fc66c..5ebaa3e 100644
--- a/util-linux/volume_id/unused_msdos.c
+++ b/util-linux/volume_id/unused_msdos.c
@@ -176,7 +176,7 @@ int FAST_FUNC volume_id_probe_msdos_part_table(struct volume_id *id, uint64_t of
if (id->partition_count < 4)
id->partition_count = 4;
- p = &id->partitions[id->partition_count];
+// p = &id->partitions[id->partition_count];
// if (is_raid(part[i].sys_ind))
// volume_id_set_usage_part(p, VOLUME_ID_RAID);