From a30e617e5a9b8264053788429a587ee1763eae73 Mon Sep 17 00:00:00 2001 From: Max Roncace Date: Sat, 6 Dec 2025 16:34:47 -0500 Subject: Various debug conditional compilation cleanup (#2915) * Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code --- src/d/d_msg_flow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/d_msg_flow.cpp') diff --git a/src/d/d_msg_flow.cpp b/src/d/d_msg_flow.cpp index a2cd304fd7..3201873387 100644 --- a/src/d/d_msg_flow.cpp +++ b/src/d/d_msg_flow.cpp @@ -68,7 +68,7 @@ void dMsgFlow_c::init(fopAc_ac_c* i_partner, int i_flowID, int param_2, fopAc_ac setNodeIndex(nodeIdx, i_talkPartners); } -#ifdef DEBUG +#if DEBUG dbgPrint(); #endif dMsgObject_setSelectWordFlag(0); @@ -457,7 +457,7 @@ int dMsgFlow_c::setSelectMsg(mesg_flow_node* i_flowNode_p, mesg_flow_node* param // "Message Set (Select)" OS_REPORT("\x1B[44;37mメッセ−ジセット(選択)      \x1B[m|:"); -#ifdef DEBUG +#if DEBUG if (i_speaker_p != NULL) { const char* speaker_name = fopAcM_getProcNameString(i_speaker_p); OS_REPORT("flow:%d, msg:%d(%d), speaker:%s\n", mFlow, msg_no, temp_r25, speaker_name); @@ -501,7 +501,7 @@ int dMsgFlow_c::setNormalMsg(mesg_flow_node* i_flowNode_p, fopAc_ac_c* i_speaker // "Message Set" OS_REPORT("\x1B[44;37mメッセ−ジセット          \x1B[m|:"); -#ifdef DEBUG +#if DEBUG if (i_speaker_p != NULL) { const char* speaker_name = fopAcM_getProcNameString(i_speaker_p); OS_REPORT("flow:%d, msg:%d, speaker:%s\n", mFlow, msg_no, speaker_name); @@ -761,7 +761,7 @@ queryFunc dMsgFlow_c::mQueryList[53] = { &dMsgFlow_c::query053, }; -#ifdef DEBUG +#if DEBUG void dMsgFlow_c::dbgPrint() {} #endif -- cgit v1.2.3