aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs-proxy.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-03-10 13:33:35 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-03-10 14:40:00 +0200
commita8f66206b9b6700151e513c6f8f3fcce844c15b3 (patch)
tree2f5749cae9a6088c162214c13aa22db18da7d5a9 /src/hs-proxy.cpp
parent93496db04da524dfafa6e80c8d865cf53db81cf3 (diff)
src/homescreen, hs-client, hs-proxy: Fix trivial unused warningslamprey_11.91.0lamprey/11.91.011.91.0
As we're now using Werror, need clean-up some trivial bits. Bug-AGL: SPEC-3843 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I17c7e61c0fd3b420a4c76fa40fe6486d2bad0c5e
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r--src/hs-proxy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp
index aaa67c7..cdbf249 100644
--- a/src/hs-proxy.cpp
+++ b/src/hs-proxy.cpp
@@ -43,6 +43,7 @@ const char _afm_main[] = "afm-main";
static void api_callback(void *closure, struct json_object *object, const char *error, const char *info, afb_api_t api)
{
AFB_INFO("asynchronous call, error=%s, info=%s, object=%s.", error, info, json_object_get_string(object));
+ (void) api;
struct closure_data *cdata = static_cast<struct closure_data *>(closure);
if (!cdata->hs_instance) {