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
*/
static int preinit(afb_api_t api)
{
+ (void) api;
AFB_DEBUG("binding preinit (was register)");
return 0;
}
*/
int HS_Client::tap_shortcut(afb_req_t request)
{
+ (void) request;
+
AFB_INFO("request appid = %s.", my_id.c_str());
struct json_object* push_obj = json_object_new_object();
hs_add_object_to_json_object_str( push_obj, 4, _application_id, my_id.c_str(),
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) {