From 3be5120d18f072746a3d32112e999a38abe07636 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Mon, 20 Jul 2015 00:00:32 +0200 Subject: [PATCH] LP-29 osgearth integration : fixed unused parameter errors on osx --- ground/openpilotgcs/src/libs/utils/gcsdirs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ground/openpilotgcs/src/libs/utils/gcsdirs.cpp b/ground/openpilotgcs/src/libs/utils/gcsdirs.cpp index df413a18b..a2cf2cba2 100644 --- a/ground/openpilotgcs/src/libs/utils/gcsdirs.cpp +++ b/ground/openpilotgcs/src/libs/utils/gcsdirs.cpp @@ -25,6 +25,7 @@ QString GCSDirs::libraryPath(QString provider) #ifdef Q_OS_MACX // TODO not correct... libPath += QLatin1String("/Plugins"); + Q_UNUSED(provider); #else // GCS_LIBRARY_BASENAME is a compiler define set by qmake libPath += QLatin1Char('/') + QLatin1String(LIB_REL_PATH); @@ -40,6 +41,7 @@ QString GCSDirs::pluginPath(QString provider) #ifdef Q_OS_MACX // TODO not correct... pluginPath += QLatin1String("/Plugins"); + Q_UNUSED(provider); #else // GCS_LIBRARY_BASENAME is a compiler define set by qmake pluginPath += QLatin1Char('/') + QLatin1String(LIB_REL_PATH); @@ -55,6 +57,7 @@ QString GCSDirs::sharePath(QString provider) #ifdef Q_OS_MACX sharePath += QLatin1String("/Resources"); + Q_UNUSED(provider); #else sharePath += QLatin1String("/share/openpilotgcs"); sharePath += QLatin1Char('/') + provider;