All of lore.kernel.org
 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

* [PATCH 2/2] fdisk: return success from sgi_create_disklabel
  2012-07-24 11:52 [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable] Petr Uzel
@ 2012-07-24 11:52 ` 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
  1 sibling, 1 reply; 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/fdisksgilabel.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fdisks/fdisksgilabel.c b/fdisks/fdisksgilabel.c
index af0ad14..2596a21 100644
--- a/fdisks/fdisksgilabel.c
+++ b/fdisks/fdisksgilabel.c
@@ -840,6 +840,7 @@ static int sgi_create_disklabel(struct fdisk_context *cxt)
 			sgi_set_partition(cxt, i, old[i].start, old[i].nsect, old[i].sysid);
 		}
 	}
+	return 0;
 }
 
 void
-- 
1.7.10.4


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

* Re: [PATCH 1/2] fdisk: fix compiler warning [-Werror=unused-variable]
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Karel Zak @ 2012-07-24 12:22 UTC (permalink / raw)
  To: Petr Uzel; +Cc: util-linux

On Tue, Jul 24, 2012 at 01:52:31PM +0200, Petr Uzel wrote:
>  fdisks/fdisk.c |    1 -
>  1 file changed, 1 deletion(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

* Re: [PATCH 2/2] fdisk: return success from sgi_create_disklabel
  2012-07-24 11:52 ` [PATCH 2/2] fdisk: return success from sgi_create_disklabel Petr Uzel
@ 2012-07-24 12:22   ` Karel Zak
  0 siblings, 0 replies; 4+ messages in thread
From: Karel Zak @ 2012-07-24 12:22 UTC (permalink / raw)
  To: Petr Uzel; +Cc: util-linux

On Tue, Jul 24, 2012 at 01:52:32PM +0200, Petr Uzel wrote:
>  fdisks/fdisksgilabel.c |    1 +
>  1 file changed, 1 insertion(+)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.