From 57d0ffea333d8602e3a1c7ac5d723251b3b49af0 Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Thu, 23 Mar 2017 04:37:51 +0000 Subject: [PATCH] Remove UNUSED(x) macro. No longer needed. --- lib/capnp_c.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/capnp_c.h b/lib/capnp_c.h index edbc43e..df6604c 100644 --- a/lib/capnp_c.h +++ b/lib/capnp_c.h @@ -24,11 +24,6 @@ typedef intmax_t ssize_t; #endif -// Macro UNUSED(x) silences compiler warnings about unused parameter or variable `x`. -#ifndef UNUSED -#define UNUSED(x) (void)(x) -#endif - // Cross-platform macro ALIGNED_(x) aligns a struct by `x` bytes. #ifdef _MSC_VER #define ALIGNED_(x) __declspec(align(x))