projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443aa48
)
Fix a static analysis issue
67/139667/1
author
Sangyoon Jang
<jeremy.jang@samsung.com>
Thu, 20 Jul 2017 05:07:12 +0000
(14:07 +0900)
committer
Sangyoon 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
patch
|
blob
|
history
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;