X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Ftest_case_channel_conn_05%2Fnode_sim_peer.c;h=ed74626796955acd9b4d9b593073c6e09cfe8dcb;hb=f1da50294494310d7a299c29af5649d4415bd38a;hp=7cc095d730c54750a3087a9bbadd9498ea3e5116;hpb=de40dd736a1b048e5e0f856184f832fa4db184d3;p=meshlink diff --git a/test/blackbox/test_case_channel_conn_05/node_sim_peer.c b/test/blackbox/test_case_channel_conn_05/node_sim_peer.c index 7cc095d7..ed746267 100644 --- a/test/blackbox/test_case_channel_conn_05/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_05/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include @@ -81,6 +86,8 @@ static void channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *chan } int main(int argc, char *argv[]) { + (void)argc; + struct timeval main_loop_wait = { 2, 0 }; // Import mesh event handler