ecore scim_imcontext: do not check null for ic. it was already checked

by EINA_SAFETY_ON_NULL_RETURN.

This fixes coverity CID 1132628.
This commit is contained in:
Daniel Juyung Seo 2013-11-27 01:48:58 +09:00
parent 106960af59
commit 9314b15add
1 changed files with 1 additions and 1 deletions

View File

@ -2120,7 +2120,7 @@ open_specific_factory(EcoreIMFContextISF *ic,
{
// turn_off_ic comment out panel_req_update_factory_info()
turn_off_ic(ic);
if (ic && ic->impl->is_on)
if (ic->impl->is_on)
{
ic->impl->is_on = false;