Fix static analysis issue 40/183140/1
authorJunghoon Park <jh9216.park@samsung.com>
Tue, 3 Jul 2018 01:04:51 +0000 (10:04 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Tue, 3 Jul 2018 01:04:51 +0000 (10:04 +0900)
Change-Id: I4dbbda98c4751ee341bd0420322638a338a9c2be
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
idlc/cpp_gen/cpp_proxy_body_gen_cb.h

index 3d39081..35347e3 100644 (file)
@@ -169,8 +169,8 @@ void ##::OnReceivedCB(const char *ep, const char *port_name, void *data) {
 const char CB_PROXY_INTERFACE_CTOR[] =
 R"__cpp_cb(
 $$::$$(IEventListener* listener, const std::string& target_appid)
-    : port_(nullptr), proxy_(nullptr), listener_(listener),
-      target_appid_(target_appid) {
+    : port_(nullptr), callback_port_(nullptr), proxy_(nullptr),
+      listener_(listener), target_appid_(target_appid) {
   int r = rpc_port_proxy_create(&proxy_);
 
   if (r != RPC_PORT_ERROR_NONE) {