Fixes GCC warning about passing NULL to non-pointer argument
This was SVN commit r12506.
This commit is contained in:
parent
ddbc9e7d86
commit
43eac32795
@ -224,7 +224,7 @@ void CSoundGroup::Reload()
|
||||
ISoundItem* temp = g_SoundManager->LoadItem(thePath);
|
||||
|
||||
if (temp == NULL)
|
||||
HandleError(L"error loading sound", thePath, NULL);
|
||||
HandleError(L"error loading sound", thePath, ERR::FAIL);
|
||||
else
|
||||
snd_group.push_back(temp);
|
||||
}
|
||||
@ -253,7 +253,7 @@ bool CSoundGroup::LoadSoundGroup(const VfsPath& pathnameXML)
|
||||
CXeromyces XeroFile;
|
||||
if (XeroFile.Load(g_VFS, pathnameXML) != PSRETURN_OK)
|
||||
{
|
||||
HandleError(L"error loading file", pathnameXML, NULL);
|
||||
HandleError(L"error loading file", pathnameXML, ERR::FAIL);
|
||||
return false;
|
||||
}
|
||||
// Define elements used in XML file
|
||||
|
Loading…
Reference in New Issue
Block a user