Fix a static analysis issue 67/139667/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 20 Jul 2017 05:07:12 +0000 (14:07 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 20 Jul 2017 05:07:12 +0000 (14:07 +0900)
Change-Id: I4899846c02c4e9556328e15d4097199135a1819b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/pkgmgrinfo_pkginfo.c

index 62a60d2..a33d1ce 100644 (file)
@@ -1529,8 +1529,6 @@ API int pkgmgrinfo_pkginfo_is_movable(pkgmgrinfo_pkginfo_h handle, bool *movable
        val = (char *)info->pkg_info->installlocation;
        if (strcmp(val, "internal-only") == 0)
                *movable = 0;
-       else if (strcmp(val, "prefer-external") == 0)
-               *movable = 1;
        else
                *movable = 1;