aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 02:49:01 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 02:49:01 -0400
commitf535a67d6406c80b4529a8c492ff0e1ed99574f7 (patch)
treedeb7f841ca631be38517de4414c140cf67b44799 /src
parent37d87e9d55749b1d73f8c617d9365d482f9a7dba (diff)
downloadjalv-f535a67d6406c80b4529a8c492ff0e1ed99574f7.tar.gz
jalv-f535a67d6406c80b4529a8c492ff0e1ed99574f7.tar.bz2
jalv-f535a67d6406c80b4529a8c492ff0e1ed99574f7.zip
Fix duplicate macro definition
Diffstat (limited to 'src')
-rw-r--r--src/zix/common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/zix/common.h b/src/zix/common.h
index 46307b1..bdd845f 100644
--- a/src/zix/common.h
+++ b/src/zix/common.h
@@ -56,15 +56,6 @@ extern "C" {
# define ZIX_LOG_FUNC(fmt, arg1)
#endif
-// Unused parameter macro to suppresses warnings and make it impossible to use
-#if defined(__cplusplus)
-# define ZIX_UNUSED(name)
-#elif defined(__GNUC__)
-# define ZIX_UNUSED(name) name##_unused __attribute__((__unused__))
-#else
-# define ZIX_UNUSED(name) name
-#endif
-
typedef enum {
ZIX_STATUS_SUCCESS,
ZIX_STATUS_ERROR,