From 4fe6eba8c79a4c9cad91d6f6835506cde96a48c4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Dec 2022 02:42:09 -0800 Subject: Avoid using a macro to set a context error and return --- alc/context.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'alc') diff --git a/alc/context.h b/alc/context.h index 448ae980..58a70184 100644 --- a/alc/context.h +++ b/alc/context.h @@ -514,12 +514,6 @@ private: #endif // ALSOFT_EAX }; -#define SETERR_RETURN(ctx, err, retval, ...) do { \ - (ctx)->setError((err), __VA_ARGS__); \ - return retval; \ -} while(0) - - using ContextRef = al::intrusive_ptr; ContextRef GetContextRef(void); -- cgit v1.2.3