sensord: initialize member variables 77/54877/1
authorkibak.yoon <kibak.yoon@samsung.com>
Fri, 18 Dec 2015 10:35:38 +0000 (19:35 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 18 Dec 2015 10:35:38 +0000 (19:35 +0900)
Change-Id: Idbc272167bf9330d08d15d36e039372b8050f935
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/server/plugins/pressure/pressure_sensor.cpp
src/server/virtual_sensor.cpp

index 8352f5b..533bb71 100755 (executable)
@@ -35,6 +35,7 @@ using std::vector;
 
 pressure_sensor::pressure_sensor()
 : m_sensor_hal(NULL)
+, m_pressure(0.0f)
 , m_resolution(0.0f)
 {
        m_name = string(SENSOR_NAME);
index bd0aa84..9a9aabb 100755 (executable)
@@ -22,6 +22,7 @@
 
 
 virtual_sensor::virtual_sensor()
+: m_hardware_fusion(false)
 {
 
 }