rctest: Fix scan-build warning
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 26 Sep 2022 22:53:41 +0000 (15:53 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
commit01ebb4a74e5f34cc26f6e27a76c90ac125509c97
treea05f69d439c6591eca4404345941833aa1f47fc6
parent2885b3bb4974e3fe6e835848035d6b55ca8fdac3
rctest: Fix scan-build warning

This fixes the following warning:

tools/rctest.c:131:2: warning: 1st function call argument is an
uninitialized value [core.CallAndMessage]
        sdp_list_free(protos, NULL);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/rctest.c