Cleaned up a few minor things
This commit is contained in:
@@ -184,7 +184,7 @@ bool LLLFSThread::Request::processRequest()
|
||||
if (mOperation == FILE_READ)
|
||||
{
|
||||
llassert(mOffset >= 0);
|
||||
LLAPRFile infile ;
|
||||
LLAPRFile infile ; // auto-closes
|
||||
infile.open(mFileName, LL_APR_RB, LLAPRFile::local);
|
||||
if (!infile.getFileHandle())
|
||||
{
|
||||
@@ -200,7 +200,6 @@ bool LLLFSThread::Request::processRequest()
|
||||
llassert_always(off >= 0);
|
||||
mBytesRead = infile.read(mBuffer, mBytes );
|
||||
complete = true;
|
||||
infile.close() ;
|
||||
// llinfos << "LLLFSThread::READ:" << mFileName << " Bytes: " << mBytesRead << llendl;
|
||||
}
|
||||
else if (mOperation == FILE_WRITE)
|
||||
|
||||
Reference in New Issue
Block a user