mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Fix uninitialized variable warnings
(This used to be ctdb commit b84f97adfd25b2fbfab1c7964b68931643e8029c)
This commit is contained in:
parent
6e2463e5c7
commit
f2d13d0ea9
@ -248,7 +248,9 @@ void ctdb_request_dmaster(struct ctdb_context *ctdb, struct ctdb_req_header *hdr
|
||||
}
|
||||
}
|
||||
if (!ctdb_db) {
|
||||
ctdb_send_error(ctdb, hdr, ret, "Unknown database in request. db_id==0x%08x",c->db_id);
|
||||
ctdb_send_error(ctdb, hdr, -1,
|
||||
"Unknown database in request. db_id==0x%08x",
|
||||
c->db_id);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -315,7 +317,9 @@ void ctdb_request_call(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
|
||||
}
|
||||
}
|
||||
if (!ctdb_db) {
|
||||
ctdb_send_error(ctdb, hdr, ret, "Unknown database in request. db_id==0x%08x",c->db_id);
|
||||
ctdb_send_error(ctdb, hdr, -1,
|
||||
"Unknown database in request. db_id==0x%08x",
|
||||
c->db_id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user