git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10a44ee
)
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
Michael Adam
<obnox@samba.org>
Fri, 12 Feb 2010 22:12:11 +0000
(23:12 +0100)
Michael
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;
}
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
/*
* Walk the list of records written during this
* transaction. If we want to read one we have already