summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-23 20:32:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-23 20:32:39 +0200
commit7c0bcbc7d4f8da28450e0b57a9e52fd50a212d4f (patch)
treea4ae670a07bd8775b8f7393278452c6f97c6b62a
parent25c431af2607923eebaa8f6b6c8f4754594f1254 (diff)
no need for pragma here
Revert part of ae8f78bf5e9096b44e700b1b2e1e4edc03a0b93d
-rw-r--r--x-plane-plugin/plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c
index b91151c1..62c9d6f0 100644
--- a/x-plane-plugin/plugin.c
+++ b/x-plane-plugin/plugin.c
@@ -52,8 +52,6 @@ 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));