git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d81f93
)
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
author
Michael Adam
<obnox@samba.org>
Fri, 11 Dec 2009 23:38:14 +0000
(
00:38
+0100)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 1 Apr 2010 07:39:15 +0000
(09:39 +0200)
Michael
(cherry picked from commit
fb981cdb8282d3b9b46d9ca515a5685add232a72
)
(cherry picked from commit
dfbc45f6d6ef2fb99652992e291b1bf5276dec28
)
source3/lib/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap_ctdb.c
b/source3/lib/dbwrap_ctdb.c
index 4c4486c53971f775dc5a0d46f93e8765f1252b41..d70637ed0bdef9f811a1d8e63bf58cebf356db8e 100644
(file)
--- a/
source3/lib/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap_ctdb.c
@@
-389,6
+389,9
@@
static bool pull_newest_from_marshall_buffer(struct ctdb_marshall_buffer *buf,
return false;
}
+ ZERO_STRUCT(h);
+ ZERO_STRUCT(data);
+
/*
* Walk the list of records written during this
* transaction. If we want to read one we have already