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 | |
parent | 0cd61fd197394bbbc867f1df87ea2f951f49822d (diff) |
Don't bother with a return value that's never used
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alEffect.h | 6 | ||||
-rw-r--r-- | OpenAL32/alEffect.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 30055f1f..4469349c 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -169,10 +169,10 @@ typedef struct ALeffect { inline ALboolean IsReverbEffect(ALenum type) { return type == AL_EFFECT_REVERB || type == AL_EFFECT_EAXREVERB; } -ALenum InitEffect(ALeffect *effect); -ALvoid ReleaseALEffects(ALCdevice *device); +void InitEffect(ALeffect *effect); +void ReleaseALEffects(ALCdevice *device); -ALvoid LoadReverbPreset(const char *name, ALeffect *effect); +void LoadReverbPreset(const char *name, ALeffect *effect); #ifdef __cplusplus } 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; |