From 1a1a58ae3afe9cd79a2fed0ce3a88b928decda78 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 15 Feb 2008 21:45:34 -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 02843a2caa5..5b025f07ea3 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