From 5b5e1456905850d03638621328dff994876458c2 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 6 Dec 2020 16:18:18 +0100 Subject: [PATCH] Add missing calls to init_sync_flag() in test cases. --- test/blacklist.c | 1 + test/import-export.c | 1 + 2 files changed, 2 insertions(+) diff --git a/test/blacklist.c b/test/blacklist.c index 5fa0f98d..cd545853 100644 --- a/test/blacklist.c +++ b/test/blacklist.c @@ -57,6 +57,7 @@ static void bar_blacklisted_cb(meshlink_handle_t *mesh, meshlink_node_t *node) { int main(void) { init_sync_flag(&bar_connected); init_sync_flag(&bar_disconnected); + init_sync_flag(&bar_blacklisted); init_sync_flag(&baz_connected); meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_cb); diff --git a/test/import-export.c b/test/import-export.c index b3ac8410..15981ed9 100644 --- a/test/import-export.c +++ b/test/import-export.c @@ -33,6 +33,7 @@ static void pmtu_cb(meshlink_handle_t *mesh, meshlink_node_t *node, uint16_t pmt int main(void) { init_sync_flag(&bar_reachable); + init_sync_flag(&pmtu_flag); meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_cb); -- 2.39.5