Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 064e5350 authored by Sharvil Nanavati's avatar Sharvil Nanavati
Browse files

Fix build warning about unused argument.

Change-Id: I3ae26dfc4ffd97d039386f55e3290a6cf36ae17d
parent aed212f0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

extern "C" {
#include "alarm.h"
#include "osi.h"
#include "semaphore.h"
}

@@ -48,7 +49,7 @@ class AlarmTest : public ::testing::Test {
    }
};

static void cb(void *data) {
static void cb(UNUSED_ATTR void *data) {
  ++cb_counter;
  semaphore_post(semaphore);
}