diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:22:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:22:44 +0200 |
commit | aadf333053490f62a5b51366746a89136719a251 (patch) | |
tree | e1f76a69644fdaedbdbdb76d6ca55be98f115311 | |
parent | 906d19822771df7bbd60246ff9f05a00ad87eba3 (diff) |
style only
-rw-r--r-- | ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp | 2 | ||||
-rw-r--r-- | x-plane-plugin/plugin.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp index 143d0c06..ccc74350 100644 --- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -1,7 +1,7 @@ #include "ftnoir_tracker_freepie-udp.h" #include "facetracknoir/plugin-support.h" -#include <stddef.h> +#include <cstddef> #include <cinttypes> TrackerImpl::TrackerImpl() : pose { 0,0,0, 0,0,0 }, should_quit(false) 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)); |