Fix build warning 65/179865/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 May 2018 05:40:31 +0000 (14:40 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 23 May 2018 05:40:31 +0000 (14:40 +0900)
Change-Id: I617d424575cac4d0afea0c4e73c68063e06bebea
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/efl_panel/isf_panel_efl.cpp

index 50ed5eb..9aab6fa 100644 (file)
@@ -2147,8 +2147,6 @@ static bool set_temporary_ise (const String &uuid)
     if (uuid.length () <= 0)
         return false;
 
-    bool ise_changed = false;
-
     if (_ime_info.size () == 0) {
 #ifdef HAVE_PKGMGR_INFO
         pkgmgrinfo_appinfo_filter_h handle;
@@ -2169,6 +2167,8 @@ static bool set_temporary_ise (const String &uuid)
     }
 
 #ifdef HAVE_PKGMGR_INFO
+    bool ise_changed = false;
+
     pkgmgrinfo_appinfo_h handle = NULL;
     int ret = pkgmgr_get_appinfo (uuid.c_str (), &handle);
     if (ret != PMINFO_R_OK) {