From: green Date: Sun, 12 Aug 2007 17:08:30 +0000 (+0000) Subject: fix compile warning about uninitialised retval usage X-Git-Tag: v1_8_0_110~1348 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=7d0afaa5ddd5f9f17da5934e20c239c993386dc2;p=fs%2Flustre-release.git fix compile warning about uninitialised retval usage --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index c59fcb6..e34bd4b 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -1232,7 +1232,7 @@ repeat: node = ll_node_from_inode(inode, *ppos, end, LCK_PR); if (IS_ERR(node)){ - GOTO(out, rc = PTR_ERR(node)); + GOTO(out, retval = PTR_ERR(node)); } tree.lt_fd = LUSTRE_FPRIVATE(file);