All of lore.kernel.org
 help / color / mirror / Atom feed
* master - gcc: quiet warning about unused function
@ 2016-11-25 14:04 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2016-11-25 14:04 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b7cf7b1d3a81749811bc33e1c0840e8f608af991
Commit:        b7cf7b1d3a81749811bc33e1c0840e8f608af991
Parent:        108d9a63fde1608aff815359d58da641fc9a18af
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Fri Nov 25 15:02:36 2016 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Nov 25 15:02:36 2016 +0100

gcc: quiet warning about unused function

Once this function will need to be used, git revert.
---
 lib/metadata/raid_manip.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c
index 9c8ba82..7e591e9 100644
--- a/lib/metadata/raid_manip.c
+++ b/lib/metadata/raid_manip.c
@@ -34,6 +34,7 @@ static int _check_restriping(uint32_t new_stripes, struct logical_volume *lv)
 	return 1;
 }
 
+__attribute__ ((__unused__))
 /* Check that all lv has segments have exactly the required number of areas */
 static int _check_num_areas_in_lv_segments(struct logical_volume *lv, unsigned num_areas)
 {



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-25 14:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-25 14:04 master - gcc: quiet warning about unused function Zdenek Kabelac

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.