papyrussolution / OpenPapyrus

Sophisticated ERP, CRM, Point-Of-Sale, etc. Open source now. This system is developed since 1996.
http://www.petroglif.ru
Other
239 stars 66 forks source link

Remove unnecessary null pointer checks #2

Open elfring opened 6 years ago

elfring commented 6 years ago

An extra null pointer check is not needed in functions like the following.

papyrussolution commented 6 years ago

Thank you. We'll correct these points.

elfring commented 6 years ago

It seems that the function “PPThreadLocalArea::SetupPhoneServiceEventResponder” is another update candidate according to an other source code transformation pattern.