mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
fix compiler warnings
This commit is contained in:
parent
c708ec79b1
commit
bbdd74e0fa
@ -35,6 +35,7 @@
|
|||||||
#include "str_list.h"
|
#include "str_list.h"
|
||||||
#include "segtype.h"
|
#include "segtype.h"
|
||||||
#include "lvmcache.h"
|
#include "lvmcache.h"
|
||||||
|
#include "dev-cache.h"
|
||||||
|
|
||||||
#ifdef HAVE_LIBDL
|
#ifdef HAVE_LIBDL
|
||||||
#include "sharedlib.h"
|
#include "sharedlib.h"
|
||||||
|
@ -103,7 +103,7 @@ static int _add_pv_to_vg(struct format_instance *fid, struct volume_group *vg,
|
|||||||
|
|
||||||
if (!alloc_pv_segment_whole_pv(mem, pv)) {
|
if (!alloc_pv_segment_whole_pv(mem, pv)) {
|
||||||
stack;
|
stack;
|
||||||
return NULL;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pvl->pv = pv;
|
pvl->pv = pv;
|
||||||
|
Loading…
Reference in New Issue
Block a user