summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fleetwood <mike.fleetwood@googlemail.com>2016-10-01 16:40:20 +0100
committerBrian C. Lane <bcl@redhat.com>2016-10-04 14:43:29 -0700
commite9a75686c2b866b3d8af3d2b8efb4972716bcec5 (patch)
treea60b04a4a258653962ae47dc4133ea0de20e017b
parentabc97eaf92f5ce6e30893e355a74159e5827f654 (diff)
downloadparted-e9a75686c2b866b3d8af3d2b8efb4972716bcec5.tar.gz
libparted: Remove commented local variable from bsd_partition_set_flag()
Signed-off-by: Brian C. Lane <bcl@redhat.com>
-rw-r--r--libparted/labels/bsd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libparted/labels/bsd.c b/libparted/labels/bsd.c
index 23daea8..f253a32 100644
--- a/libparted/labels/bsd.c
+++ b/libparted/labels/bsd.c
@@ -464,7 +464,6 @@ bsd_partition_set_system (PedPartition* part, const PedFileSystemType* fs_type)
static int
bsd_partition_set_flag (PedPartition* part, PedPartitionFlag flag, int state)
{
-// PedPartition* walk; // since -Werror, this unused variable would break build
BSDPartitionData* bsd_data;
PED_ASSERT (part != NULL);