]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_pmtu.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_pmtu.c
index 204132d7303adf7b39c416bf6b809db0863148ec..58675964e3df93ecd9989e0e3f9130ef9bd22e35 100644 (file)
@@ -81,7 +81,7 @@ static bool test_steps_mesh_pmtu_01(void) {
        assert_int_not_equal(pmtu, -1);
 
        meshlink_close(mesh);
-       meshlink_destroy("pmtu_conf");
+       assert(meshlink_destroy("pmtu_conf"));
        return true;
 }
 
@@ -111,7 +111,7 @@ static bool test_steps_mesh_pmtu_02(void) {
        assert_int_equal(pmtu, -1);
 
        meshlink_close(mesh);
-       meshlink_destroy("pmtu_conf");
+       assert(meshlink_destroy("pmtu_conf"));
        return true;
 }
 
@@ -139,7 +139,7 @@ static bool test_steps_mesh_pmtu_03(void) {
        assert_int_equal(pmtu, -1);
 
        meshlink_close(mesh);
-       meshlink_destroy("pmtu_conf");
+       assert(meshlink_destroy("pmtu_conf"));
        return true;
 }