From: Laurent Mazet Date: Fri, 11 Apr 2025 19:44:59 +0000 (+0200) Subject: remove useless printf X-Git-Tag: v1.0~33^2~3 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=8bfcc234af0f6e77cef3eee13dc49dd957124182;p=morep.git remove useless printf --- diff --git a/morep_simulator.c b/morep_simulator.c index b54bd90..cc5237d 100644 --- a/morep_simulator.c +++ b/morep_simulator.c @@ -512,7 +512,6 @@ int main (int argc, char **argv) uint8_t msgtype = 0; uint8_t payload[MOREP_PAYLOAD] = {0}; seqnum = MOREP_Receive (comm->morep, &msgtype, payload, &len); -printf("msgtype: %d\n", msgtype); /* check msg/pdu type */ pdu = undef_pdu_e; @@ -522,7 +521,6 @@ printf("msgtype: %d\n", msgtype); if ((m->service_id == serv->service_id) && (m->msgtype == msgtype)) { pdu = m->pdu; msg = m; -printf("msgtype: %d %d\n", msgtype, msg->msgtype); } } /* check msg type */ @@ -530,7 +528,6 @@ printf("msgtype: %d %d\n", msgtype, msg->msgtype); VERBOSE (simul, WARNING, PRINTF ("R:%s[%s] [SEQ=%d MSG=%d LEN=%d PDU=%d] message type is not allowed for this service\n", serv->name, comm->etype, seqnum, msg->msgtype, len, pdu)); continue; } -printf("msgtype: %d %d %d\n", msgtype, msg->msgtype, exp_msg->msgtype); if (exp_msg->msgtype != msg->msgtype) { VERBOSE (simul, WARNING, PRINTF ("R:%s[%s] [SEQ=%d MSG=%d LEN=%d PDU=%d] expected message type %s\n", serv->name, comm->etype, seqnum, msg->msgtype, len, pdu, exp_msg->name)); continue;