From b26945560d3f2719722d8a7f3a34b6d589004992 Mon Sep 17 00:00:00 2001 From: Hoseon LEE Date: Sat, 14 Sep 2013 15:52:34 +0900 Subject: [PATCH] The unnecessary condition is removed in VibrationSupport [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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 src/view/common/view_logic_vibration_support.cpp diff --git a/src/view/common/view_logic_vibration_support.cpp b/src/view/common/view_logic_vibration_support.cpp old mode 100644 new mode 100755 index 2185368..cce3092 --- a/src/view/common/view_logic_vibration_support.cpp +++ b/src/view/common/view_logic_vibration_support.cpp @@ -29,9 +29,7 @@ VibrationSupport::VibrationSupport() : m_initialized(false), {} VibrationSupport::~VibrationSupport() -{ - Assert(!m_initialized); -} +{} void VibrationSupport::initialize(void) { -- 2.7.4