master - gcc: quiet warning about unused function
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b7cf7b1d3a81749811bc33e1c0840e8f608af991 Commit: b7cf7b1d3a81749811bc33e1c0840e8f608af991 Parent: 108d9a63fde1608aff815359d58da641fc9a18af Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Nov 25 15:02:36 2016 +0100 Committer: Zdenek Kabelac <[email protected]> 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(-)
lib/metadata/raid_manip.c +1 -0
@@ -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) {