diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-03-11 22:08:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-12 09:19:08 -0700 |
commit | b2c13f4178222961a75ee2f2326293bca9c2d972 (patch) | |
tree | 94d8ec729538cd43656e6cd89d059a317ccdac21 /core/qtserialbluetooth.cpp | |
parent | 7bfeb95613b13c868bbe57a059bece513307b668 (diff) | |
download | subsurface-b2c13f4178222961a75ee2f2326293bca9c2d972.tar.gz |
qtserialbluetooth.cpp: mark qt_serial_get_transmitted() as unused
The function is unused, to silence the warning add the "unused"
GCC attribute to the function declaration.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qtserialbluetooth.cpp')
-rw-r--r-- | core/qtserialbluetooth.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/qtserialbluetooth.cpp b/core/qtserialbluetooth.cpp index 1b227cfd5..20e32f59f 100644 --- a/core/qtserialbluetooth.cpp +++ b/core/qtserialbluetooth.cpp @@ -346,6 +346,9 @@ static dc_status_t qt_serial_get_received(void **userdata, size_t *available) return DC_STATUS_SUCCESS; } +/* UNUSED! */ +static int qt_serial_get_transmitted(qt_serial_t *device) __attribute__ ((unused)); + static int qt_serial_get_transmitted(qt_serial_t *device) { #if defined(Q_OS_WIN) |