ecore_imf/scim: Fix logically dead code in scim module
authorJihoon Kim <jihoon48.kim@samsung.com>
Sat, 10 Jan 2015 00:27:10 +0000 (09:27 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sat, 10 Jan 2015 00:27:10 +0000 (09:27 +0900)
CID 1261449

@fix

src/modules/ecore_imf/scim/scim_imcontext.cpp

index bd088f9..d30fa08 100644 (file)
@@ -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);
 }