projects
/
platform
/
core
/
appfw
/
amd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb4938
)
Fix static analysis issue
author
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 18 Apr 2023 02:08:14 +0000
(
02:08
+0000)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Tue, 18 Apr 2023 02:13:55 +0000
(
02:13
+0000)
Type:
- Forward null
Change-Id: I97b2abd061728ca23ec3f15a331bf466bd5c8015
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_res_info.cc
patch
|
blob
|
history
diff --git
a/src/lib/amd_res_info.cc
b/src/lib/amd_res_info.cc
index 1df2bc200d9aab86a36da75460fbed0997dd17f4..1093c9ba4457f979a88cfa0595d37d87d3d03907 100644
(file)
--- a/
src/lib/amd_res_info.cc
+++ b/
src/lib/amd_res_info.cc
@@
-355,7
+355,7
@@
static int ResInfoGetGadgetResPackagesInfo(uid_t uid, GList** pkgids,
gadget_map.erase(found);
}
- gadget_map[res_pkginfo->GetResType()] =
std::move(res_pkginfo)
;
+ gadget_map[res_pkginfo->GetResType()] =
res_pkginfo
;
}
for (const auto& [_, res_pkginfo] : gadget_map) {