projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54810d9
)
Fix Coverity Issue
49/294449/1
author
Anjali Nijhara
<a.nijhara@samsung.com>
Mon, 19 Jun 2023 11:23:57 +0000
(16:53 +0530)
committer
Anjali Nijhara
<a.nijhara@samsung.com>
Mon, 19 Jun 2023 11:23:57 +0000
(16:53 +0530)
This patch fix the below coverity issue:
CID-
1668747
Change-Id: Ida334a9c6dc4817ba045f99d4f5d6e4a9cd0a9ca
src/wifi-config.c
patch
|
blob
|
history
diff --git
a/src/wifi-config.c
b/src/wifi-config.c
index 737a177759f50e7ded73c661659f78438c152a2e..c17234541b0aa0b7a187bc753bcc19f9c2ca0b8e 100755
(executable)
--- a/
src/wifi-config.c
+++ b/
src/wifi-config.c
@@
-550,9
+550,10
@@
static gboolean _remove_configuration(const gchar *interface_name, const gchar *
if (__remove_configuration(dir) != TRUE) {
ERR("[%s] is existed, but cannot remove", dir);
ret = FALSE;
+ } else {
+ INFO("Success to remove [%s]", dir);
+ ret = TRUE;
}
- INFO("Success to remove [%s]", dir);
- ret = TRUE;
} else {
ERR("[%s] is not existed", dir);
ret = FALSE;