Fix build error 90/265290/1
authorjh9216.park <jh9216.park@samsung.com>
Thu, 14 Oct 2021 06:52:58 +0000 (02:52 -0400)
committerjh9216.park <jh9216.park@samsung.com>
Thu, 14 Oct 2021 06:52:58 +0000 (02:52 -0400)
Change-Id: I7a23ae54e701ca50521acbcf0c225970026da0e5
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
idlc/gen_cion/cs_cion_stub_gen.cc

index 1374024..73b811f 100644 (file)
@@ -229,11 +229,9 @@ void CsCionStubGen::GenAsyncInvocation(std::ofstream& stream, const Declaration&
   // Invoke
   cnt = 1;
   std::string m;
-  bool hasRet = false;
 
   if (decl.GetType().ToString() != "void") {
     m += "var retVal = ";
-    hasRet = true;
   }
 
   m += "b." + decl.GetID() + "(";