]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c
Fix compiler warnings in the test suites.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_set_log_cb.c
index 71019a13b0f0ec0ebcfe4352f0e524638e594078..14129017f26e137507fda00620fdcf85b8c3f5b9 100644 (file)
@@ -38,8 +38,6 @@ static void test_case_set_log_cb_01(void **state);
 static bool test_set_log_cb_01(void);
 static void test_case_set_log_cb_02(void **state);
 static bool test_set_log_cb_02(void);
-static void test_case_set_log_cb_03(void **state);
-static bool test_set_log_cb_03(void);
 
 /* log variable gives access to the log callback to know whether invoked or not */
 static bool log;
@@ -57,6 +55,9 @@ static black_box_state_t test_case_set_log_cb_02_state = {
 
 /* log callback */
 static void log_cb(meshlink_handle_t *mesh, meshlink_log_level_t level, const char *text) {
+       (void)mesh;
+       (void)level;
+
        fprintf(stderr, "Received log text : %s\n", text);
        log = true;
 }