From: Tomasz Iwanek Date: Tue, 30 Apr 2013 09:41:50 +0000 (+0200) Subject: [Prevent] Issue 52063 X-Git-Tag: submit/tizen_2.2/20130927.091410^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56250da8c125d60702c0cb1409425ca69d227a41;p=platform%2Fframework%2Fweb%2Fwrt-plugins-common.git [Prevent] Issue 52063 [Issue#] LINUXWRT-235 [Bug] Return statement with no value [Cause] N/A [Solution] Fix macro use [Verification] Build repo. Change-Id: Ia651c11ed696a820cb6e02927e8119a51666f696 --- diff --git a/src/plugin-loading/plugin_logic.cpp b/src/plugin-loading/plugin_logic.cpp index 08d056a..aef6950 100644 --- a/src/plugin-loading/plugin_logic.cpp +++ b/src/plugin-loading/plugin_logic.cpp @@ -433,7 +433,10 @@ void PluginLogic::Impl::dispatchJavaScriptEvent(JSGlobalContextRef context, unsigned int PluginLogic::Impl::windowHandle() const { - PLUGIN_LOGIC_SANITY_CHECK + if (!s_sanityCheck) + { + LogError("Object is not available. Wrong flow occured"); + } return m_windowHandle; }