summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-05-09 16:26:15 -0400
committerMatt Porter <mporter@konsulko.com>2018-05-10 08:17:02 -0400
commit3db8165f916329eb1b21693f8d3fc2bc692bf597 (patch)
treec6ad5bc729ac65e9bbd268c042a09dba129c739d /app/main.cpp
parent063dadfee9aff8556e22026ee2c8436b07e374e5 (diff)
Fix unused variable warning from HMI init
Remove build warning introduced by migration to new HMI framework. Bug-AGL: SPEC-1428 Change-Id: I55638881e000da9f6599026783545b7c225ce471 Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 7e56138..0881659 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -78,6 +78,7 @@ int main(int argc, char *argv[])
}
// Create an event callback against an event type. Here a lambda is called when SyncDraw event occurs
qwm->set_event_handler(QLibWindowmanager::Event_SyncDraw, [qwm, myname](json_object *object) {
+ Q_UNUSED(object);
fprintf(stderr, "Surface got syncDraw!\n");
qwm->endDraw(myname);
});