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
@ -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…
x
Reference in New Issue
Block a user