1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-19 07:33:14 +03:00

fix compiler warnings

This commit is contained in:
Alasdair Kergon
2005-05-09 17:41:36 +00:00
parent 5524ed753b
commit 2425b3a166
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
#include "str_list.h"
#include "segtype.h"
#include "lvmcache.h"
#include "dev-cache.h"
#ifdef HAVE_LIBDL
#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)) {
stack;
return NULL;
return 0;
}
pvl->pv = pv;