aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alInstrument.c3
-rw-r--r--OpenAL32/alPreset.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/OpenAL32/alInstrument.c b/OpenAL32/alInstrument.c
index 5ab2fef2..cd186475 100644
--- a/OpenAL32/alInstrument.c
+++ b/OpenAL32/alInstrument.c
@@ -76,9 +76,6 @@ AL_API ALvoid AL_APIENTRY alDeleteInstrumentsSOFT(ALsizei n, const ALuint *ids)
device = context->Device;
for(i = 0;i < n;i++)
{
- if(!ids[i])
- continue;
-
/* Check for valid ID */
if((inst=LookupInstrument(device, ids[i])) == NULL)
SET_ERROR_AND_GOTO(context, AL_INVALID_NAME, done);
diff --git a/OpenAL32/alPreset.c b/OpenAL32/alPreset.c
index 9e4eed4f..6592f26b 100644
--- a/OpenAL32/alPreset.c
+++ b/OpenAL32/alPreset.c
@@ -76,9 +76,6 @@ AL_API ALvoid AL_APIENTRY alDeletePresetsSOFT(ALsizei n, const ALuint *ids)
device = context->Device;
for(i = 0;i < n;i++)
{
- if(!ids[i])
- continue;
-
/* Check for valid ID */
if((preset=LookupPreset(device, ids[i])) == NULL)
SET_ERROR_AND_GOTO(context, AL_INVALID_NAME, done);