]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_get_fingerprint.c
index 59321f0d26ca2d78c8934377873ab835c7026224..3435f6eeaa5bf7ad2b52e7a4ad9eb4169df93641 100644 (file)
@@ -85,7 +85,7 @@ static bool test_get_fingerprint_cb_01(void) {
        assert_int_not_equal(fp, NULL);
 
        meshlink_close(mesh_handle);
-       meshlink_destroy("getfingerprintconf");
+       assert(meshlink_destroy("getfingerprintconf"));
 
        return true;
 }
@@ -126,7 +126,7 @@ static bool test_get_fingerprint_cb_02(void) {
        assert_int_equal(fp, NULL);
 
        meshlink_close(mesh_handle);
-       meshlink_destroy("getfingerprintconf");
+       assert(meshlink_destroy("getfingerprintconf"));
 
        return true;
 }
@@ -158,7 +158,7 @@ static bool test_get_fingerprint_cb_03(void) {
        assert_int_equal(fp, NULL);
 
        meshlink_close(mesh_handle);
-       meshlink_destroy("getfingerprintconf");
+       assert(meshlink_destroy("getfingerprintconf"));
 
        return true;
 }