summaryrefslogtreecommitdiffstats
path: root/plugins/alsa
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-20 11:33:33 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-20 11:34:09 +0200
commita84a9312af0397e71a584f59e77e8a32d92c2fef (patch)
tree480294ed71ffb422bd8445ba8f086289f62f84db /plugins/alsa
parentb678f39644b3a80ca599c10d33574d3b1ffbf427 (diff)
Remove an unfilled response json object
Remove an unfilled response json object when a call is received to change bluetooth streamed devbie. Change-Id: I72ad4cd71c29e3cdf1427813228f6c7df63b3144 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/alsa')
-rw-r--r--plugins/alsa/alsa-api-mixer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/alsa/alsa-api-mixer.c b/plugins/alsa/alsa-api-mixer.c
index 9dedb04..f8222df 100644
--- a/plugins/alsa/alsa-api-mixer.c
+++ b/plugins/alsa/alsa-api-mixer.c
@@ -649,8 +649,6 @@ static void MixerBluezAlsaDevVerb(AFB_ReqT request) {
goto parsed;
}
- json_object *responseJ = json_object_new_object();
-
error = wrap_json_unpack(argsJ, "{ss,ss,ss !}"
, "interface", &interface
, "device", &device
@@ -675,7 +673,7 @@ parsed:
goto OnErrorExit;
}
- AFB_ReqSuccess(request, responseJ, NULL);
+ AFB_ReqSuccess(request, NULL, NULL);
OnErrorExit:
return;