[parted-devel] [PATCH 5/8] libparted: Remove commented local variable from bsd_partition_set_flag()

Mike Fleetwood mike.fleetwood at googlemail.com
Tue Aug 16 19:42:39 UTC 2016


---
 libparted/labels/bsd.c |    1 -
 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);
-- 
1.7.1




More information about the parted-devel mailing list