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:
Lubomir I. Ivanov 2017-03-11 22:08:34 +02:00 committed by Dirk Hohndel
parent 7bfeb95613
commit b2c13f4178

View file

@ -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)