]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_get_all_nodes_by_dev_class.c
Fix compiler warnings in the test suites.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_get_all_nodes_by_dev_class.c
index e32fb36c48e717b9495bf801b01609e5463b598a..6f4badf609a9bcfd9bbf6d9da07d2fd7ec716b10 100644 (file)
@@ -208,7 +208,7 @@ static void test_case_mesh_get_node_by_dev_class_02(void **state) {
 static bool test_steps_mesh_get_node_by_dev_class_02(void) {
        meshlink_node_t **nodes;
        size_t nnodes = 0;
-       int i;
+
        meshlink_destroy("getnodeconf.1");
 
        /* Create meshlink instance for NUT */
@@ -308,6 +308,8 @@ static bool test_steps_mesh_get_node_dev_class_02(void) {
 }
 
 static int black_box_setup_test_case(void **state) {
+       (void)state;
+
        fprintf(stderr, "Destroying confbases\n");
        meshlink_destroy("getnodeconf.1");
        meshlink_destroy("getnodeconf.2");