diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 1a2278042..9f80af331 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -2100,9 +2100,10 @@ static inline int mount_entry_on_generic(struct mntent *mntent, const char *lxc_path) { int ret; - unsigned long mntflags, pflags; + unsigned long mntflags; char *mntdata; bool dev, optional, relative; + unsigned long pflags = 0; char *rootfs_path = NULL; optional = hasmntopt(mntent, "optional") != NULL;