mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb: Fix uninitialized variable warnings
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
63b88a7275
commit
5d0cc794fd
@ -4951,7 +4951,7 @@ static int control_setlmasterrole(TALLOC_CTX *mem_ctx,
|
||||
struct ctdb_context *ctdb,
|
||||
int argc, const char **argv)
|
||||
{
|
||||
uint32_t lmasterrole;
|
||||
uint32_t lmasterrole = 0;
|
||||
int ret;
|
||||
|
||||
if (argc != 1) {
|
||||
@ -4979,7 +4979,7 @@ static int control_setrecmasterrole(TALLOC_CTX *mem_ctx,
|
||||
struct ctdb_context *ctdb,
|
||||
int argc, const char **argv)
|
||||
{
|
||||
uint32_t recmasterrole;
|
||||
uint32_t recmasterrole = 0;
|
||||
int ret;
|
||||
|
||||
if (argc != 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user