From: Petr Uzel Date: Tue, 24 Jul 2012 11:52:31 +0000 (+0200) Subject: fdisk: fix compiler warning [-Werror=unused-variable] X-Git-Tag: v2.22-rc1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63906221b65bcafc26753406360b94570cceb361;p=thirdparty%2Futil-linux.git fdisk: fix compiler warning [-Werror=unused-variable] Signed-off-by: Petr Uzel --- diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 4731918b8a..244f0e7c48 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 */