From: green Date: Sun, 12 Aug 2007 17:09:09 +0000 (+0000) Subject: fix compile time warning aboutuninitialised retval usage. X-Git-Tag: 1.6.1~5 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8b86d8686468e502b08f9529eeacfc9c558377a2;p=fs%2Flustre-release.git fix compile time warning aboutuninitialised retval usage. --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 98b42e7..f088b60 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -1363,7 +1363,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);