diff options
author | 2009-12-04 02:02:35 +0800 | |
---|---|---|
committer | 2009-12-17 20:55:52 -0800 | |
commit | 3a05d7961e6b5fb77660849b56a22feca5d1e0c5 (patch) | |
tree | 6ca0f2de79d0897b4199f8b80d9f200128bbd922 | |
parent | ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_nolock() (diff) | |
download | wireguard-linux-3a05d7961e6b5fb77660849b56a22feca5d1e0c5.tar.xz wireguard-linux-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>
-rw-r--r-- | fs/ocfs2/stack_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c index ff4c798a5635..da78a2a334fd 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); |