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
+3 -3
View File
@@ -76,7 +76,7 @@ static RageFileObjDirect *MakeFileObjDirect( RString sPath, int iMode, int &iErr
if( iFD == -1 )
{
iError = errno;
return NULL;
return nullptr;
}
#if defined(UNIX)
@@ -85,7 +85,7 @@ static RageFileObjDirect *MakeFileObjDirect( RString sPath, int iMode, int &iErr
{
iError = EISDIR;
close( iFD );
return NULL;
return nullptr;
}
#endif
@@ -207,7 +207,7 @@ RageFileBasic *RageFileDriverDirectReadOnly::Open( const RString &sPath, int iMo
if( iMode & RageFile::WRITE )
{
iError = EROFS;
return NULL;
return nullptr;
}
return RageFileDriverDirect::Open( sPath, iMode, iError );