From 7e52a0f641fe3612ebb7547ef8fab39ccd2c23e0 Mon Sep 17 00:00:00 2001 From: m_thread Date: Wed, 26 Feb 2014 17:38:43 +0100 Subject: [PATCH] OP-1170 Got rid of all compiler warnings in ophid plugin. --- ground/openpilotgcs/src/plugins/ophid/hidapi/libusb/hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/ophid/hidapi/libusb/hid.c b/ground/openpilotgcs/src/plugins/ophid/hidapi/libusb/hid.c index a25eaa6f3..13a4e5aa4 100644 --- a/ground/openpilotgcs/src/plugins/ophid/hidapi/libusb/hid.c +++ b/ground/openpilotgcs/src/plugins/ophid/hidapi/libusb/hid.c @@ -1205,9 +1205,9 @@ int HID_API_EXPORT_CALL hid_get_indexed_string(hid_device *dev, int string_index } -HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) +HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev __attribute__ ((unused))) { - return NULL; + return NULL; }