From d0a9c282b54c59faad4c62608ebd74be91b1ca92 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 15 Feb 2008 21:34:18 -0500 Subject: [PATCH] Unionfs: initialize path_save variable This is not strictly necessary, but it helps quiet a gcc-4.2 warning (a good optimizer may optimize this initialization away). Signed-off-by: Erez Zadok Signed-off-by: Josef 'Jeff' Sipek --- fs/unionfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 2d9c2494fbd..bd19f934784 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -239,7 +239,7 @@ static struct dentry *unionfs_lookup(struct inode *parent, struct dentry *dentry, struct nameidata *nd) { - struct path path_save; + struct path path_save = {NULL, NULL}; struct dentry *ret; unionfs_read_lock(dentry->d_sb, UNIONFS_SMUTEX_CHILD); -- 2.43.0