Fixed dead code from coverity
Fix issues where arrays are compared with NULL found in Coverity.
Fix functionally dead code found by Coverity.
Fix functiionaly dead code detected by Coverity
Fix copy paste error found by Coverity.
compare signed with unsigned error found by Coverity
Fix string format vulnerability found by Coverity.
Merge branch 'dev/chuck/COVERITY33' into testing