Resolve krazy warnings
Resolve some reported problems either by fixing the issue or in case of a false positive by excluding the check