jihoon pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2c8fbb81a89e1ec8326eb8de5929deed477664d3

commit 2c8fbb81a89e1ec8326eb8de5929deed477664d3
Author: Jihoon Kim <jihoon48....@samsung.com>
Date:   Sat Jan 10 09:27:10 2015 +0900

    ecore_imf/scim: Fix logically dead code in scim module
    
    CID 1261449
    
    @fix
---
 src/modules/ecore_imf/scim/scim_imcontext.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/modules/ecore_imf/scim/scim_imcontext.cpp 
b/src/modules/ecore_imf/scim/scim_imcontext.cpp
index bd088f9..d30fa08 100644
--- a/src/modules/ecore_imf/scim/scim_imcontext.cpp
+++ b/src/modules/ecore_imf/scim/scim_imcontext.cpp
@@ -2675,8 +2675,8 @@ slot_start_helper(IMEngineInstanceBase *si,
    EINA_SAFETY_ON_NULL_RETURN(ic->impl);
 
    SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " 
context="
-      << (ic ? ic->id : -1) << " ic=" << ic
-      << " ic-uuid=" << ((ic ) ? ic->impl->si->get_factory_uuid() : "") << 
"...\n";
+      << ic->id << " ic=" << ic
+      << " ic-uuid=" << ic->impl->si->get_factory_uuid() << "...\n";
 
    _panel_client.start_helper(ic->id, helper_uuid);
 }
@@ -2688,7 +2688,7 @@ slot_stop_helper(IMEngineInstanceBase *si,
    EcoreIMFContextISF *ic = static_cast<EcoreIMFContextISF 
*>(si->get_frontend_data());
    EINA_SAFETY_ON_NULL_RETURN(ic);
 
-   SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " 
context=" << (ic ? ic->id : -1) << " ic=" << ic << "...\n";
+   SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " 
context=" << ic->id << " ic=" << ic << "...\n";
 
    _panel_client.stop_helper(ic->id, helper_uuid);
 }
@@ -2703,8 +2703,8 @@ slot_send_helper_event(IMEngineInstanceBase *si,
    EINA_SAFETY_ON_NULL_RETURN(ic->impl);
 
    SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << " helper= " << helper_uuid << " 
context="
-      << (ic ? ic->id : -1) << " ic=" << ic
-      << " ic-uuid=" << ((ic) ? ic->impl->si->get_factory_uuid() : "") << 
"...\n";
+      << ic->id << " ic=" << ic
+      << " ic-uuid=" << ic->impl->si->get_factory_uuid() << "...\n";
 
    _panel_client.send_helper_event(ic->id, helper_uuid, trans);
 }

-- 


Reply via email to