]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/test_case_channel_blacklist_01/node_sim_peer_01.c
Ensure NDEBUG is not set in the test suite.
[meshlink] / test / blackbox / test_case_channel_blacklist_01 / node_sim_peer_01.c
index 4f1c9395da0c7ed92e74c4126206a286399983f3..4e36933f7f7450fcf81e764400b435d3f8602d1c 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>
@@ -36,8 +41,6 @@ bool test_case_signal_peer_restart_01;
 static void channel_receive_cb(meshlink_handle_t *mesh, meshlink_channel_t *channel, const void *dat, size_t len);
 static bool channel_accept(meshlink_handle_t *mesh, meshlink_channel_t *channel, uint16_t port, const void *dat, size_t len);
 
-static int client_id = -1;
-
 static bool channel_accept(meshlink_handle_t *mesh, meshlink_channel_t *channel, uint16_t port, const void *dat, size_t len) {
        (void)dat;
        (void)len;