aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--binding/radio-binding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/binding/radio-binding.c b/binding/radio-binding.c
index 505ee4c..f9b7e34 100644
--- a/binding/radio-binding.c
+++ b/binding/radio-binding.c
@@ -305,7 +305,6 @@ static void stop(struct afb_req request)
*/
static void scan_start(struct afb_req request)
{
- json_object *ret_json;
const char *value = afb_req_value(request, "direction");
int valid = 0;
radio_scan_direction_t direction;
@@ -337,7 +336,7 @@ static void scan_start(struct afb_req request)
return;
}
radio_impl_scan_start(direction, scan_callback, NULL);
- afb_req_success(request, ret_json, NULL);
+ afb_req_success(request, NULL, NULL);
}
/*