From: Rachita Kothiyal Date: Fri, 29 Feb 2008 16:38:00 +0000 (-0500) Subject: Unionfs: initialize path_save variable X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=f3fc60f8ed9b807240c87c5a349424eed9708e40;p=unionfs-odf.git 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 --- diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 9abc39cd36..06eb84270f 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -192,7 +192,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);