Module: kamailio
Branch: master
Commit: 72a4d665607d3c38278a744d3af3588ed54d2a05
URL:
https://github.com/kamailio/kamailio/commit/72a4d665607d3c38278a744d3af3588…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-30T09:09:33+02:00
tm: void the return for sr_kemi_route() to prevent analyzer warnings
---
Modified: src/modules/tm/t_reply.c
---
Diff:
https://github.com/kamailio/kamailio/commit/72a4d665607d3c38278a744d3af3588…
Patch:
https://github.com/kamailio/kamailio/commit/72a4d665607d3c38278a744d3af3588…
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index 350be35bdd..331bdbdf71 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -593,7 +593,7 @@ static int _reply_light( struct cell *trans, char* buf, unsigned int
len,
} else {
bctx = sr_kemi_act_ctx_get();
sr_kemi_act_ctx_set(&ctx);
- sr_kemi_route(keng, &pmsg, EVENT_ROUTE,
+ (void)sr_kemi_route(keng, &pmsg, EVENT_ROUTE,
&_tm_event_callback_lres_sent, &evname);
sr_kemi_act_ctx_set(bctx);
}