]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/test_cases_invite.c
Fix compiler warnings in the test suites.
[meshlink] / test / blackbox / run_blackbox_tests / test_cases_invite.c
index af02cb4770469f05fb8389718babbf3959c98e28..cd5b7faf5f8c88ea351fc70ba71d75ee6be6080d 100644 (file)
@@ -164,12 +164,12 @@ static bool test_invite_04(void) {
        meshlink_set_log_cb(mesh_handle, TEST_MESHLINK_LOG_LEVEL, meshlink_callback_logger);
 
        char *hostname1 = "127.1.1.1";
-       bool ret = meshlink_add_address(mesh_handle, hostname1);
+       meshlink_add_address(mesh_handle, hostname1);
        char *invitation = meshlink_invite(mesh_handle, NULL, "foo");
        assert_int_not_equal(strstr(invitation, hostname1), NULL);
 
        char *hostname2 = "127.1.2.3";
-       ret = meshlink_add_address(mesh_handle, hostname2);
+       meshlink_add_address(mesh_handle, hostname2);
        invitation = meshlink_invite(mesh_handle, NULL, "bar");
 
        // Verify we have both the added addresses