The unnecessary condition is removed in VibrationSupport
authorHoseon LEE <hoseon46.lee@samsung.com>
Sat, 14 Sep 2013 06:52:34 +0000 (15:52 +0900)
committerHoseon LEE <hoseon46.lee@samsung.com>
Sun, 29 Sep 2013 08:08:53 +0000 (17:08 +0900)
[Issue#] P130911-02986
[Problem] web-provider crash by assert code
[Cause] The destructor of VibrationSupport has unnecessary condition
        Sometimes m_initialized is set to false. But the destructor always check that it is true
[Solution] The unnecessary condition is removed

Change-Id: I149be5073efa750810bd08cc3aa7c72b534f1963

src/view/common/view_logic_vibration_support.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 2185368..cce3092
@@ -29,9 +29,7 @@ VibrationSupport::VibrationSupport() : m_initialized(false),
 {}
 
 VibrationSupport::~VibrationSupport()
-{
-    Assert(!m_initialized);
-}
+{}
 
 void VibrationSupport::initialize(void)
 {