Found by covscan.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
int destnode,
struct timeval timeout)
{
- struct ctdb_req_control request;
- struct ctdb_reply_control *reply;
+ struct ctdb_req_control request = {
+ .opcode = 0,
+ };
+ struct ctdb_reply_control *reply = NULL;
int ret;
ctdb_req_control_disable_node(&request);
int destnode,
struct timeval timeout)
{
- struct ctdb_req_control request;
- struct ctdb_reply_control *reply;
+ struct ctdb_req_control request = {
+ .opcode = 0,
+ };
+ struct ctdb_reply_control *reply = NULL;
int ret;
ctdb_req_control_enable_node(&request);