]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_meta_conn_02/node_sim_relay.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / test_case_meta_conn_02 / node_sim_relay.c
index 6e6caabecf5140e328dae391a8cc710c381d73fb..57ea254d2efd39eadb0278cb041e3f80693840af 100644 (file)
@@ -31,6 +31,8 @@
 #define CMD_LINE_ARG_INVITEURL  5
 
 int main(int argc, char *argv[]) {
+       (void)argc;
+
        struct timeval main_loop_wait = { 5, 0 };
 
        int client_id = -1;
@@ -60,4 +62,5 @@ int main(int argc, char *argv[]) {
        }
 
        execute_close();
+       assert(meshlink_destroy(argv[1]));
 }