summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorColy Li <coly.li@suse.de>2009-12-04 02:02:35 +0800
committerJoel Becker <joel.becker@oracle.com>2009-12-17 20:55:52 -0800
commit3a05d7961e6b5fb77660849b56a22feca5d1e0c5 (patch)
tree6ca0f2de79d0897b4199f8b80d9f200128bbd922 /fs
parentf5befbbbf9b7af033c94a1df6acaf79e77a3ceb6 (diff)
downloadkernel-crypto-3a05d7961e6b5fb77660849b56a22feca5d1e0c5.tar.gz
kernel-crypto-3a05d7961e6b5fb77660849b56a22feca5d1e0c5.tar.xz
kernel-crypto-3a05d7961e6b5fb77660849b56a22feca5d1e0c5.zip
ocfs2: explicit declare uninitialized var in user_cluster_connect()
This patch explicitly declares an uninitialized local variable in user_cluster_connect(), to remove a compiling warning. Signed-off-by: Coly Li <coly.li@suse.de> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/stack_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
index ff4c798a563..da78a2a334f 100644
--- a/fs/ocfs2/stack_user.c
+++ b/fs/ocfs2/stack_user.c
@@ -814,7 +814,7 @@ static int fs_protocol_compare(struct ocfs2_protocol_version *existing,
static int user_cluster_connect(struct ocfs2_cluster_connection *conn)
{
dlm_lockspace_t *fsdlm;
- struct ocfs2_live_connection *control;
+ struct ocfs2_live_connection *uninitialized_var(control);
int rc = 0;
BUG_ON(conn == NULL);