parted/SOURCES/0049-libparted-Remove-commented-local-variable-from-bsd_p.patch

27 lines
868 B
Diff
Raw Normal View History

2019-05-07 13:06:40 +00:00
From fe6d1478172071779135001e494afffb993a9068 Mon Sep 17 00:00:00 2001
From: Mike Fleetwood <mike.fleetwood@googlemail.com>
Date: Sat, 1 Oct 2016 16:40:20 +0100
Subject: [PATCH 49/53] libparted: Remove commented local variable from
bsd_partition_set_flag()
Signed-off-by: Brian C. Lane <bcl@redhat.com>
---
libparted/labels/bsd.c | 1 -
1 file changed, 1 deletion(-)
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);
--
2.7.4