Skip to content

Commit

Permalink
ctdb-tests: Avoid potentially uninitialised data
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schwenke <[email protected]>
Reviewed-by: Amitay Isaacs <[email protected]>
  • Loading branch information
martin-schwenke authored and Amitay Isaacs committed Jun 5, 2019
1 parent 0bd87d7 commit 18b4a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctdb/tests/src/run_event_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 18b4a3a

Please sign in to comment.