[PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx>
---
 fdisks/fdisk.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index 4731918..244f0e7 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -1604,7 +1604,6 @@ gpt_warning(char *dev)
 /* Print disk geometry and partition table of a specified device (-l option) */
 static void print_partition_table_from_option(char *device, unsigned long sector_size)
 {
-	int gb;
 	struct fdisk_context *cxt;
 
 	cxt = fdisk_new_context_from_filename(device, 1);	/* read-only */
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux