mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
This commit is contained in:
parent
1230d0d280
commit
0d4221fa59
38 changed files with 176 additions and 360 deletions
|
|
@ -77,7 +77,7 @@ S32 SFXALDevice::getMaxSources()
|
|||
|
||||
S32 SFXALDevice::getMaxSourcesOld()
|
||||
{
|
||||
ALuint uiSource[256];
|
||||
ALuint uiSource[256] = {};
|
||||
S32 sourceCount = 0;
|
||||
|
||||
// clear errors.
|
||||
|
|
@ -148,7 +148,7 @@ SFXALDevice::SFXALDevice( SFXProvider *provider,
|
|||
#if defined(AL_ALEXT_PROTOTYPES)
|
||||
mOpenAL.alcGetIntegerv(mDevice, ALC_MAX_AUXILIARY_SENDS, 1, &iSends);
|
||||
#endif
|
||||
U32 err = mOpenAL.alcGetError( mDevice );
|
||||
err = mOpenAL.alcGetError( mDevice );
|
||||
|
||||
if( err != ALC_NO_ERROR )
|
||||
Con::errorf( "SFXALDevice - Context Initialization Error: %s", mOpenAL.alcGetString( mDevice, err ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue