From 555cf227ffed470184b55bc5a87b125da66f0a16 Mon Sep 17 00:00:00 2001 From: Xiaohong Bao Date: Fri, 25 Oct 2013 10:29:45 -0600 Subject: trivial: fix several weird compiling errors. --- indra/newview/llflexibleobject.cpp | 2 +- indra/newview/llmeshrepository.cpp | 2 +- indra/newview/llspatialpartition.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp index c589bea674..3cd4367891 100755 --- a/indra/newview/llflexibleobject.cpp +++ b/indra/newview/llflexibleobject.cpp @@ -660,7 +660,7 @@ void LLVolumeImplFlexible::doFlexibleUpdate() mSection[i].mdPosition = (mSection[i].mPosition - mSection[i-1].mPosition) * inv_section_length; // Create points - llassert(mRenderRes > -1) + llassert(mRenderRes > -1); S32 num_render_sections = 1<getPathLength() != num_render_sections+1) { diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 77ea965136..a876e1f755 100755 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -736,7 +736,7 @@ void LLMeshRepoThread::loadMeshLOD(const LLVolumeParams& mesh_params, S32 lod) if (pending != mPendingLOD.end()) { //append this lod request to existing header request pending->second.push_back(lod); - llassert(pending->second.size() <= LLModel::NUM_LODS) + llassert(pending->second.size() <= LLModel::NUM_LODS); } else { //if no header request is pending, fetch header diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 55c0acd3f9..86d1948baa 100755 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1201,7 +1201,7 @@ public: { LLSpatialGroup* group = (LLSpatialGroup*)base_group; - llassert(!group->hasState(LLSpatialGroup::DIRTY) && !group->isEmpty()) + llassert(!group->hasState(LLSpatialGroup::DIRTY) && !group->isEmpty()); if (mRes < 2) { -- cgit v1.2.3