mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
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>
This commit is contained in:
parent
f5befbbbf9
commit
3a05d7961e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user