mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: marked unused parameter
Add Q_UNUSED to unused parameter Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
dce7e46766
commit
d8227c4a70
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ typedef struct qt_serial_t {
|
|||
|
||||
static dc_status_t qt_serial_open(qt_serial_t **io, dc_context_t *context, const char* devaddr)
|
||||
{
|
||||
Q_UNUSED(context);
|
||||
|
||||
// Allocate memory.
|
||||
qt_serial_t *serial_port = (qt_serial_t *) malloc (sizeof (qt_serial_t));
|
||||
if (serial_port == NULL) {
|
||||
|
|
Loading…
Add table
Reference in a new issue