From 1309721790b7b2aeb29658b8907c99fcaabf85a5 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 16 Mar 2016 22:02:24 +0100 Subject: removed private api and fix some few warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8d4427c94ca2b88a4f1add70b065d0b6d0865286 Signed-off-by: José Bollo --- plugins/radio/radio-api.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/radio') diff --git a/plugins/radio/radio-api.c b/plugins/radio/radio-api.c index 919a875f..ea17eb51 100644 --- a/plugins/radio/radio-api.c +++ b/plugins/radio/radio-api.c @@ -176,6 +176,8 @@ STATIC json_object* power (AFB_request *request) { /* AFB_SESSION_CHECK */ jresp = json_object_new_object(); json_object_object_add (jresp, "power", json_object_new_string ("off")); } + else + jresp = NULL; return jresp; } -- cgit 1.2.3-korg