]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_get_port.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_get_port.c
index 9b55984436d6a7f43cf5c48b6b3c65b5dc58c8e4..71f7cb44cb305973ffac69ebd97f5d8a3f6f87f0 100644 (file)
@@ -72,7 +72,7 @@ static bool test_steps_mesh_get_port_01(void) {
        assert_int_not_equal(port, -1);
 
        meshlink_close(mesh);
-       meshlink_destroy("port_conf");
+       assert(meshlink_destroy("port_conf"));
        return true;
 }