diff options
author | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
commit | b4d56d3fdff4243ae2a3fc64934ced2af3187690 (patch) | |
tree | 9a9809e2e991037aa5798a05ab7321d143b95e5f /Alc/effects/modulator.cpp | |
parent | c8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff) |
Remove the UNUSED macro
Diffstat (limited to 'Alc/effects/modulator.cpp')
-rw-r--r-- | Alc/effects/modulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/modulator.cpp b/Alc/effects/modulator.cpp index 46d17d1c..8377aefe 100644 --- a/Alc/effects/modulator.cpp +++ b/Alc/effects/modulator.cpp @@ -59,7 +59,7 @@ inline ALfloat Square(ALsizei index) return static_cast<ALfloat>(((index>>(WAVEFORM_FRACBITS-2))&2) - 1); } -inline ALfloat One(ALsizei UNUSED(index)) +inline ALfloat One(ALsizei) { return 1.0f; } @@ -98,7 +98,7 @@ struct ModulatorState final : public EffectState { DEF_NEWDEL(ModulatorState) }; -ALboolean ModulatorState::deviceUpdate(const ALCdevice *UNUSED(device)) +ALboolean ModulatorState::deviceUpdate(const ALCdevice*) { for(auto &e : mChans) { |