@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:
https://github.com/kamailio/kamailio/pull/3120#issuecomment-1133305716
You are receiving this because you commented.
Message ID: <kamailio/kamailio/pull/3120/c1133305716(a)github.com>