Kaydet (Commit) eab0ae6a authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: nullPointerRedundantCheck

Change-Id: I5cac2cdb383de5448383434a910eb97061c29071
üst f84b07c5
......@@ -461,9 +461,7 @@ Type getSequenceElementType(const Type& _rSequenceType)
typelib_IndirectTypeDescription* pSequenceTD =
reinterpret_cast< typelib_IndirectTypeDescription* >(aTD.get());
OSL_ASSERT(pSequenceTD);
OSL_ASSERT(pSequenceTD->pType);
OSL_ASSERT(pSequenceTD && pSequenceTD->pType);
if (pSequenceTD && pSequenceTD->pType)
return Type(pSequenceTD->pType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment