diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-23 20:32:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-24 19:33:34 +0200 |
commit | 90acf0e706bb4c7b33b6e6b4da7258699231df84 (patch) | |
tree | fe9b0e044da6baa5bc48ea1fdc5d71e3a24b5a4e | |
parent | 7ce48a6b460cec28e8c74ecf2c2d8c1c0aab3ef9 (diff) |
no need for pragma here
Revert part of ae8f78bf5e9096b44e700b1b2e1e4edc03a0b93d
-rw-r--r-- | x-plane-plugin/plugin.c | 2 |
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)); |