]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_meta_conn_03/node_sim_relay.c
Fix __warn_unused_result__, add more of it and fix the resulting warnings.
[meshlink] / test / blackbox / test_case_meta_conn_03 / node_sim_relay.c
index 4a4de245e085d64c69135dd0b3f7ae02c35bb146..a6f917725cc220db948ad67df803bd18308dc87b 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,5 +62,5 @@ int main(int argc, char *argv[]) {
        }
 
        execute_close();
-       meshlink_destroy(argv[1]);
+       assert(meshlink_destroy(argv[1]));
 }