projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a static analysis issue
[platform/core/appfw/pkgmgr-info.git]
/
src
/
pkgmgrinfo_pkginfo.c
diff --git
a/src/pkgmgrinfo_pkginfo.c
b/src/pkgmgrinfo_pkginfo.c
index
62a60d2
..
a33d1ce
100644
(file)
--- a/
src/pkgmgrinfo_pkginfo.c
+++ b/
src/pkgmgrinfo_pkginfo.c
@@
-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;