diff options
Diffstat (limited to 'OpenAL32/alState.c')
-rw-r--r-- | OpenAL32/alState.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenAL32/alState.c b/OpenAL32/alState.c index 678e9e94..9341050f 100644 --- a/OpenAL32/alState.c +++ b/OpenAL32/alState.c @@ -436,7 +436,7 @@ AL_API ALvoid AL_APIENTRY alGetIntegerv(ALenum pname, ALint *values) AL_API const ALchar* AL_APIENTRY alGetString(ALenum pname) { - const ALchar *value; + const ALchar *value = NULL; ALCcontext *Context; Context = GetContextRef(); @@ -490,10 +490,6 @@ AL_API const ALchar* AL_APIENTRY alGetString(ALenum pname) al_throwerr(Context, AL_INVALID_ENUM); } } - al_catchany() - { - value = NULL; - } al_endtry; ALCcontext_DecRef(Context); |