1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

gcc: ensure pointer is always defined

This commit is contained in:
Zdenek Kabelac 2021-02-10 14:30:58 +01:00
parent 82bffa99ad
commit a1e2541333

View File

@ -872,7 +872,7 @@ static int read_adopt_file(struct list_head *vg_lockd)
char vg_uuid[72];
char lm_type_str[16];
char mode[8];
struct lockspace *ls, *ls2;
struct lockspace *ls = NULL, *ls2;
struct resource *r;
FILE *fp;