1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-tests: Avoid potentially uninitialised data

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2019-05-30 15:33:05 +10:00 committed by Amitay Isaacs
parent 0bd87d75c0
commit 18b4a3a0d3

View File

@ -167,8 +167,8 @@ int main(int argc, const char **argv)
{
TALLOC_CTX *mem_ctx;
struct tevent_context *ev;
struct run_proc_context *run_proc_ctx;
struct run_event_context *run_ctx;
struct run_proc_context *run_proc_ctx = NULL;
struct run_event_context *run_ctx = NULL;
int ret;
if (argc < 3) {