util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable]
@ 2012-07-24 11:52 Petr Uzel
  2012-07-24 11:52 ` [PATCH 2/2] fdisk: return success from sgi_create_disklabel Petr Uzel
  2012-07-24 12:22 ` [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable] Karel Zak
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Uzel @ 2012-07-24 11:52 UTC (permalink / raw)
  To: util-linux


Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-24 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-24 11:52 [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable] Petr Uzel
2012-07-24 11:52 ` [PATCH 2/2] fdisk: return success from sgi_create_disklabel Petr Uzel
2012-07-24 12:22   ` Karel Zak
2012-07-24 12:22 ` [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable] Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).