diff options
author | Chris Robinson <[email protected]> | 2018-01-27 23:50:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-27 23:50:04 -0800 |
commit | 0051ebace0c419d873c1ebbe615c483c0124e70e (patch) | |
tree | 3f60413b9bcd0b767d06cfc981e83210d242dacd /OpenAL32/alEffect.c | |
parent | 0cd61fd197394bbbc867f1df87ea2f951f49822d (diff) |
Don't bother with a return value that's never used
Diffstat (limited to 'OpenAL32/alEffect.c')
-rw-r--r-- | OpenAL32/alEffect.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index e538433f..39f6f330 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -366,10 +366,9 @@ AL_API ALvoid AL_APIENTRY alGetEffectfv(ALuint effect, ALenum param, ALfloat *va } -ALenum InitEffect(ALeffect *effect) +void InitEffect(ALeffect *effect) { InitEffectParams(effect, AL_EFFECT_NULL); - return AL_NO_ERROR; } static ALeffect *AllocEffect(ALCcontext *context) @@ -445,7 +444,7 @@ static void FreeEffect(ALCdevice *device, ALeffect *effect) VECTOR_ELEM(device->EffectList, lidx).FreeMask |= U64(1) << slidx; } -ALvoid ReleaseALEffects(ALCdevice *device) +void ReleaseALEffects(ALCdevice *device) { EffectSubList *sublist = VECTOR_BEGIN(device->EffectList); EffectSubList *subend = VECTOR_END(device->EffectList); @@ -740,7 +739,7 @@ static const struct { }; #undef DECL -ALvoid LoadReverbPreset(const char *name, ALeffect *effect) +void LoadReverbPreset(const char *name, ALeffect *effect) { size_t i; |