[#2212] CID37470:

Replaced inequality compare against pointer with null check, minor
refactor to increase potential for code reuse.
[#2212] CID37471:

replaced offending code block with function call
[#2212] CID37469:

Replaced offending code block with function call
[#858] Removed utterly empty else
[#2212] CID26305:

Removed null check on literal array
[#858] removed #if 0 blocks
[#858] removed #ifdef RESC_GROUP block
[#2212] CID26246:

Removed null check on literal array
[#2212] CID26244:

Added missing comma
[#2212] CID26224:

Removed null check on literal array