1
0
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:
Alasdair Kergon 2005-05-09 17:41:36 +00:00
parent c708ec79b1
commit bbdd74e0fa
2 changed files with 2 additions and 1 deletions

View File

@ -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"

View File

@ -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;