[omniORB-dev] Remove unnecessary null pointer checks

Markus Elfring Markus.Elfring at web.de
Fri Nov 3 12:45:22 UTC 2023


> Do you have a specific reason for running this sort of analysis on
> omniORB's code,
I hope that chances will grow for a corresponding source code cleanup.


> or are you just doing it out of interest?

I guess that more questionable code can be transformed
if smart pointers can also be applied instead.

Would you like to take the C++ guideline “R.11: Avoid calling new
and delete explicitly” better into account?
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#r11-avoid-calling-new-and-delete-explicitly

Regards,
Markus



More information about the omniORB-dev mailing list