mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
7bfeb95613
commit
b2c13f4178
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue