1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Fix a whole bunch of clang warnings.

This commit is contained in:
Darryl Pogue
2012-12-15 16:46:20 -08:00
parent ca87b47ca8
commit 4221b57baa
11 changed files with 23 additions and 13 deletions

View File

@ -510,11 +510,11 @@ void plWinAudible::DeActivate()
bool plWinAudible::MsgReceive(plMessage* msg)
{
plGenRefMsg *refMsg;
if (refMsg = plGenRefMsg::ConvertNoRef(msg))
plGenRefMsg *refMsg = plGenRefMsg::ConvertNoRef(msg);
if (refMsg)
{
plSound *snd;
if (snd = plSound::ConvertNoRef(refMsg->GetRef()))
plSound *snd = plSound::ConvertNoRef(refMsg->GetRef());
if (snd)
{
int index = refMsg->fWhich;
if( refMsg->GetContext() & (plRefMsg::kOnCreate | plRefMsg::kOnRequest) )