Removed compiler warnings related to unused variable 57/32657/1
authorAnkur <ankur29.garg@samsung.com>
Mon, 22 Dec 2014 08:51:48 +0000 (14:21 +0530)
committerAnkur <ankur29.garg@samsung.com>
Mon, 22 Dec 2014 08:51:56 +0000 (14:21 +0530)
commit4ba155308b2ed3a2b65087e7f2bbb1b7087cde91
treef740ffa76a8d0e3f32331ae6a1804961375ea8b7
parente678f450f3d3d577667a7d7dfe159d6259b4d8a5
Removed compiler warnings related to unused variable

-changed the variable (MS_TO_US) declaration to a macro as done in other files
this removes the warning in csensor_event_listener.cpp regarding unused variable.
-similarly, based on this, changed all occurrences of (MIN_DELIVERY_DIFF_FACTOR) from variable declaration to macro
this removes the warning in csensor_event_listener.cpp regarding unused variable.

Change-Id: I98708ed5eca0d84dd959d5a59ad865f5381c0b26
src/gravity/gravity_sensor.cpp
src/libsensord/csensor_event_listener.cpp
src/linear_accel/linear_accel_sensor.cpp
src/orientation/orientation_sensor.cpp