The big NULL replacement party part 3.

Getting there I think.
This commit is contained in:
Jason Felds
2013-05-03 23:16:39 -04:00
parent ba59dd1656
commit a3f37dc2b4
73 changed files with 1880 additions and 1880 deletions
+4 -4
View File
@@ -296,14 +296,14 @@ RageFileBasic *RageFileDriverZip::Open( const RString &sPath, int iMode, int &iE
if( iMode & RageFile::WRITE )
{
iErr = ERROR_WRITING_NOT_SUPPORTED;
return NULL;
return nullptr;
}
FileInfo *info = (FileInfo *) FDB->GetFilePriv( sPath );
if( info == nullptr )
{
iErr = ENOENT;
return NULL;
return nullptr;
}
m_Mutex.Lock();
@@ -314,7 +314,7 @@ RageFileBasic *RageFileDriverZip::Open( const RString &sPath, int iMode, int &iE
if( !ReadLocalFileHeader(*info) )
{
m_Mutex.Unlock();
return NULL;
return nullptr;
}
}
@@ -338,7 +338,7 @@ RageFileBasic *RageFileDriverZip::Open( const RString &sPath, int iMode, int &iE
default:
/* unknown compression method */
iErr = ENOSYS;
return NULL;
return nullptr;
}
}