mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-common: Avoid warning for potentially uninitialised pointers
s_list generates a warning, but initialise them both. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
cf9199f425
commit
94e41a8466
@ -285,8 +285,8 @@ int run_event_list(struct run_event_context *run_ctx,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct run_event_script_list **output)
|
||||
{
|
||||
struct event_script_list *s_list;
|
||||
struct run_event_script_list *script_list;
|
||||
struct event_script_list *s_list = NULL;
|
||||
struct run_event_script_list *script_list = NULL;
|
||||
unsigned int i;
|
||||
int ret;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user