]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_channel_conn_01/node_sim_peer.c
Ensure NDEBUG is not set in the test suite.
[meshlink] / test / blackbox / test_case_channel_conn_01 / node_sim_peer.c
index 7cc095d730c54750a3087a9bbadd9498ea3e5116..ed74626796955acd9b4d9b593073c6e09cfe8dcb 100644 (file)
     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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -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