Commit 781067b9 authored by spiiroin's avatar spiiroin

[build] Silence warnings about unused parameters

The functions take extra parameters to follow convention - which then causes
compiler to issue warnings during build.

Flag the parameters as "unused on purpose".
Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent eb0499d8
......@@ -553,6 +553,8 @@ EXIT:
static int modesetting_leave_mass_storage_mode(struct mode_list_elem *data)
{
(void)data;
bool ack = false;
size_t count = 0;
storage_info_t *info = 0;
......
......@@ -586,6 +586,8 @@ cleanup:
static void *worker_thread_cb(void *aptr)
{
(void)aptr;
/* Async cancellation, but disabled */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, 0);
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment