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