fix possible crash
This commit is contained in:
@@ -226,7 +226,8 @@ void RageFileManager::Mount( CString Type, CString Root, CString MountPoint )
|
|||||||
RageFileDriver *driver = MakeFileDriver( Type, Root );
|
RageFileDriver *driver = MakeFileDriver( Type, Root );
|
||||||
if( !driver )
|
if( !driver )
|
||||||
{
|
{
|
||||||
LOG->Warn("Can't mount unknown VFS type \"%s\", root \"%s\"", Type.c_str(), Root.c_str() );
|
if( LOG )
|
||||||
|
LOG->Warn("Can't mount unknown VFS type \"%s\", root \"%s\"", Type.c_str(), Root.c_str() );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user