From: Christian Brauner Date: Sun, 11 Mar 2018 10:33:30 +0000 (+0100) Subject: conf: initialize pflags X-Git-Tag: lxc-3.0.0.beta2~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=949d0338c6b93814f02c1ddbe87071b18aba94fa;p=thirdparty%2Flxc.git conf: initialize pflags Signed-off-by: Christian Brauner --- 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;