From af1936be5dd4724367bfb7a90965f8769aa4f705 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 21 May 2013 07:24:53 -0700 Subject: Remove some unused code --- OpenAL32/Include/alAuxEffectSlot.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index ed0d1887..547e7040 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -39,11 +39,8 @@ static const struct ALeffectStateVtable T##_ALeffectState_vtable = { \ T##_ALeffectState_Process \ } -#define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable)) -#define SET_VTABLE2(T1, T2, obj) do { \ - STATIC_CAST(T2, (obj))->vtbl = &(T1##_##T2##_vtable); \ - /*SET_VTABLE1(T1, obj);*/ \ -} while(0) +#define SET_VTABLE1(T1, obj) ((obj)->vtbl = &(T1##_vtable)) +#define SET_VTABLE2(T1, T2, obj) SET_VTABLE1(T1##_##T2, STATIC_CAST(T2, (obj))) struct ALeffectslot -- cgit v1.2.3