trivial: fix several weird compiling errors.
parent
bcba6ee3a5
commit
555cf227ff
|
|
@ -246,7 +246,7 @@ bool LLQueuedThread::addRequest(QueuedRequest* req)
|
|||
// MAIN thread
|
||||
bool LLQueuedThread::waitForResult(LLQueuedThread::handle_t handle, bool auto_complete)
|
||||
{
|
||||
llassert (handle != nullHandle())
|
||||
llassert (handle != nullHandle());
|
||||
bool res = false;
|
||||
bool waspaused = isPaused();
|
||||
bool done = false;
|
||||
|
|
|
|||
|
|
@ -405,7 +405,7 @@ bool LLAssetStorage::findInStaticVFSAndInvokeCallback(const LLUUID& uuid, LLAsse
|
|||
if (user_data)
|
||||
{
|
||||
// The *user_data should not be passed without a callback to clean it up.
|
||||
llassert(callback != NULL)
|
||||
llassert(callback != NULL);
|
||||
}
|
||||
|
||||
BOOL exists = mStaticVFS->getExists(uuid, type);
|
||||
|
|
@ -445,7 +445,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, LLAssetType::EType type, LL
|
|||
if (user_data)
|
||||
{
|
||||
// The *user_data should not be passed without a callback to clean it up.
|
||||
llassert(callback != NULL)
|
||||
llassert(callback != NULL);
|
||||
}
|
||||
|
||||
if (mShutDown)
|
||||
|
|
|
|||
|
|
@ -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<<mRenderRes;
|
||||
if (path->getPathLength() != num_render_sections+1)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue