Skip to content
Snippets Groups Projects
Commit 23ec8896 authored by Oz Linden's avatar Oz Linden
Browse files

changes to fix compiler warnings merged in from viewer-release

parent 6f3cf79a
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ LLModel::EModelStatus load_face_from_dom_triangles(std::vector<LLVolumeFace>& fa
U32 tc_count = (tc_source && tc_source->getFloat_array()) ? tc.getCount() : 0;
U32 norm_count = (norm_source && norm_source->getFloat_array()) ? n.getCount(): 0;
if ((vertex_count == 0))
if (vertex_count == 0)
{
LL_WARNS() << "Unable to process mesh with empty position array; invalid model." << LL_ENDL;
return LLModel::BAD_ELEMENT;
......
......@@ -158,8 +158,7 @@ LLVOAvatarSelf::LLVOAvatarSelf(const LLUUID& id,
LLVOAvatar(id, pcode, regionp),
mScreenp(NULL),
mLastRegionHandle(0),
mRegionCrossingCount(0),
mInitialBakesLoaded(false)
mRegionCrossingCount(0)
{
mMotionController.mIsSelf = TRUE;
......
......@@ -105,7 +105,6 @@ class LLVOAvatarSelf :
private:
LLUUID mInitialBakeIDs[6];
bool mInitialBakesLoaded;
/********************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment