From aadf333053490f62a5b51366746a89136719a251 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 22 Sep 2014 15:22:44 +0200 Subject: style only --- x-plane-plugin/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x-plane-plugin') diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index 62c9d6f0..b91151c1 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -52,6 +52,8 @@ static void reinit_offset() { # define OT_UNUSED(varname) varname #endif +#pragma GCC diagnostic ignored "-Wunused-result" + PortableLockedShm* PortableLockedShm_init(const char *shmName, const char *OT_UNUSED(mutexName), int mapSize) { PortableLockedShm* self = malloc(sizeof(PortableLockedShm)); -- cgit v1.2.3