summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:22:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 15:22:44 +0200
commitaadf333053490f62a5b51366746a89136719a251 (patch)
treee1f76a69644fdaedbdbdb76d6ca55be98f115311 /x-plane-plugin
parent906d19822771df7bbd60246ff9f05a00ad87eba3 (diff)
style only
Diffstat (limited to 'x-plane-plugin')
-rw-r--r--x-plane-plugin/plugin.c2
1 files changed, 2 insertions, 0 deletions
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));