projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5befbb
)
ocfs2: explicit declare uninitialized var in user_cluster_connect()
author
Coly Li
<coly.li@suse.de>
Thu, 3 Dec 2009 18:02:35 +0000
(
02:02
+0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 18 Dec 2009 04:55:52 +0000
(20:55 -0800)
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>
fs/ocfs2/stack_user.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/stack_user.c
b/fs/ocfs2/stack_user.c
index ff4c798a5635f23d64739356b2fc8277c370e1b9..da78a2a334fdfcf486df2724acd3352deff58cb2 100644
(file)
--- 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);