From fe73b32dca63842ff81bbcecddfcf2a672f321a8 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 19 Jul 2021 08:08:20 +0900 Subject: [PATCH] Fix static analysis issue - Initialize private members to nullptr Change-Id: I36ebc07223b157b207d2f7c4d4c61e21c21a9a92 Signed-off-by: Hwankyu Jhun --- test/unit_tests/rpc_port_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit_tests/rpc_port_test.cc b/test/unit_tests/rpc_port_test.cc index 78ac326..7163202 100644 --- a/test/unit_tests/rpc_port_test.cc +++ b/test/unit_tests/rpc_port_test.cc @@ -308,8 +308,8 @@ class RpcPortBase : public TestFixture { proxy_handle_ = nullptr; } - rpc_port_proxy_h proxy_handle_; - rpc_port_stub_h stub_handle_; + rpc_port_proxy_h proxy_handle_ = nullptr; + rpc_port_stub_h stub_handle_ = nullptr; bool touch_proxy_connected_event_cb_ = false; bool touch_stub_connected_event_cb_ = false; bool touch_proxy_rejected_event_cb_ = false; -- 2.7.4