From 63906221b65bcafc26753406360b94570cceb361 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Tue, 24 Jul 2012 13:52:31 +0200 Subject: fdisk: fix compiler warning [-Werror=unused-variable] Signed-off-by: Petr Uzel --- fdisks/fdisk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 4731918b8..244f0e7c4 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 */ -- cgit v1.2.3-55-g7522