From a84a9312af0397e71a584f59e77e8a32d92c2fef Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Thu, 20 Sep 2018 11:33:33 +0200 Subject: 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 --- plugins/alsa/alsa-api-mixer.c | 4 +--- 1 file changed, 1 insertion(+), 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; -- cgit 1.2.3-korg