Changed: GCC warnings

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent bd8cdb46e0
commit e4109490cd

@ -1395,7 +1395,7 @@ void CPrimitiveWorldImage::reaction (const CCollisionSurfaceDesc& surfaceDesc, c
void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage) void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage)
{ {
// Cast type // Cast type
nlassert (dynamic_cast<const CMoveContainer*>(&container)); nlassert (dynamic_cast<const CMoveContainer*>(&container) != NULL);
const CMoveContainer *cont=(const CMoveContainer*)&container; const CMoveContainer *cont=(const CMoveContainer*)&container;
if (!cont->getGlobalRetriever()) return; if (!cont->getGlobalRetriever()) return;

@ -62,7 +62,7 @@ CGroupController::~CGroupController()
void CGroupController::addSource(CSourceCommon *source) void CGroupController::addSource(CSourceCommon *source)
{ {
nlassert(this); nlassert(this != NULL);
m_Sources.insert(source); m_Sources.insert(source);
increaseSources(); increaseSources();

Loading…
Cancel
Save