This patch fixes a few "Logic error" warnings of the type "Called c++
object pointer is null" reported by Clang Static Analyzer on the
following files:
- lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp,
- lib/StaticAnalyzer/Core/PlistDiagnostics.cpp.
Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
This conditional will assert if:
So removing this conditional will assert in the same cases as the assert you are adding.