[sr-dev] [kamailio/kamailio] core: const correctness (PR #3120)

Daniel-Constantin Mierla notifications at github.com
Fri May 20 22:08:49 CEST 2022

@henningw - to my knowledge, there is no optimisation that a compiler can do to const parameters of a function.

I asked because the most of the functions there were not touched for ages, so not usual suspects for unintended changes.

Moreover, the commit message is somehow contradictory, first lines suggests is makes something correct (like it was wrong before), but then in the second line says the changes are benign.

But if people thinks it is better aesthetic this way, then ok.

Reply to this email directly or view it on GitHub:
You are receiving this because you commented.

Message ID: <kamailio/kamailio/pull/3120/c1133305716 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220520/7221fb05/attachment-0001.htm>

More information about the sr-dev mailing list