[Resource-container] Backported init fix to 1.1-rel
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 26 Apr 2016 13:28:17 +0000 (15:28 +0200)
committerUze Choi <uzchoi@samsung.com>
Thu, 28 Apr 2016 08:10:00 +0000 (08:10 +0000)
[Resource-container] Fix member var initialization

Incorrect type was used causing build error.

Origin: 6a10062f1fe64ca75ac6d34541bbd295ef052dcb
Author: Inga Stotland <inga.stotland@intel.com>
Change-Id: I701096c3b6512546847cf4e120430f690e920453
Signed-off-by: Inga Stotland <inga.stotland@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7759
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Markus Jung <markus.jung85@gmail.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7929

service/resource-container/src/BundleInfoInternal.cpp

index a15ae9cdd8a171aed5ca80d97fe85b9a1f8e45aa..893db00898c4e72408f57d9952af7c1ba29e85c7 100644 (file)
@@ -32,8 +32,8 @@ namespace OIC
             m_resourceCreator = nullptr;
             m_resourceDestroyer = nullptr;
             m_bundleHandle = nullptr;
-            m_so_bundle = nullptr;
 
+            m_so_bundle = false;
             m_loaded = false;
             m_activated = false;
             m_java_bundle = false;