]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_set_port.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_set_port.c
index ca3a2f38c47cdecb79b71364f4ff05520a02664d..e514e57f11328d4cf82bc0b96768a47547c40703 100644 (file)
@@ -95,7 +95,7 @@ static bool test_set_port_01(void) {
        // Clean up
 
        meshlink_close(mesh_handle);
-       meshlink_destroy("setportconf");
+       assert(meshlink_destroy("setportconf"));
        return true;
 }
 
@@ -153,7 +153,7 @@ static bool test_set_port_03(void) {
        // Clean up
 
        meshlink_close(mesh_handle);
-       meshlink_destroy("getportconf");
+       assert(meshlink_destroy("getportconf"));
 
        return false;
 }