diff options
author | Coly Li <coly.li@suse.de> | 2009-12-03 19:02:35 +0100 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-12-18 05:55:52 +0100 |
commit | 3a05d7961e6b5fb77660849b56a22feca5d1e0c5 (patch) | |
tree | 6ca0f2de79d0897b4199f8b80d9f200128bbd922 /fs/ocfs2/stack_user.c | |
parent | ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_no... (diff) | |
download | linux-3a05d7961e6b5fb77660849b56a22feca5d1e0c5.tar.xz 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>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
-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); |