From 7d0afaa5ddd5f9f17da5934e20c239c993386dc2 Mon Sep 17 00:00:00 2001 From: green Date: Sun, 12 Aug 2007 17:08:30 +0000 Subject: [PATCH] fix compile warning about uninitialised retval usage --- lustre/llite/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.3.1