Check the return value in TiltSensor 66/178266/2
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 9 May 2018 05:47:24 +0000 (14:47 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 9 May 2018 05:58:22 +0000 (05:58 +0000)
commit6e5eb694da1583229b141c83476e9a61694bbf68
treea0574435b940986be5fd4bbdd885fa3df5a9c194
parente5723c58cd6458d98805419964a97d242bb902df
Check the return value in TiltSensor

- sensor_create_listener() has a return value as int type.
  In tilt-sensor-impl-tizen.cpp, there is an omitted return check code
  at 171 line. So, added to check the return value of sensor_create_listener.

Change-Id: Ib6eb7e0af38a215df4a2492f5dd082ad82fefa56
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/internal/sensor/tizen/tilt-sensor-impl-tizen.cpp