git.samba.org
/
timbeale
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be15d3
)
ctdb-client: Fix potentially uninitialised data
author
Martin Schwenke
<martin@meltin.net>
Wed, 22 May 2019 11:58:14 +0000
(21:58 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Wed, 5 Jun 2019 10:25:50 +0000
(10:25 +0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/client/client_db.c
patch
|
blob
|
history
diff --git
a/ctdb/client/client_db.c
b/ctdb/client/client_db.c
index c9ddde3d422ce718eddda4a00408be088bfbef66..dfa8d970de5bca792ba72498424e851820bf17bd 100644
(file)
--- a/
ctdb/client/client_db.c
+++ b/
ctdb/client/client_db.c
@@
-1442,7
+1442,7
@@
int ctdb_fetch_lock(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
{
struct tevent_req *req;
struct ctdb_record_handle *h;
- int ret;
+ int ret
= 0
;
req = ctdb_fetch_lock_send(mem_ctx, ev, client, db, key, readonly);
if (req == NULL) {
@@
-2249,7
+2249,7
@@
int ctdb_transaction_start(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
{
struct tevent_req *req;
struct ctdb_transaction_handle *h;
- int ret;
+ int ret
= 0
;
req = ctdb_transaction_start_send(mem_ctx, ev, client, timeout, db,
readonly);