projects
/
platform
/
core
/
appfw
/
libeventsystem.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc1fd4
)
Fix static analysis issue
15/313815/1
author
Inkyun Kil
<inkyun.kil@samsung.com>
Tue, 2 Jul 2024 05:49:45 +0000
(14:49 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Tue, 2 Jul 2024 05:49:45 +0000
(14:49 +0900)
- unreachable code
Change-Id: I6f1e4fb73f8386b9494ce640957fc86bdb7adc2b
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
src/eventsystem.c
patch
|
blob
|
history
diff --git
a/src/eventsystem.c
b/src/eventsystem.c
index d127a34fd5b2a37da62c598beffa18d341b57e44..cce61d767046bd0ad82210f32b014fcf1ab92c0b 100644
(file)
--- a/
src/eventsystem.c
+++ b/
src/eventsystem.c
@@
-969,7
+969,7
@@
static int __eventsystem_send_trusted_event(GDBusConnection *conn, eventinfo_s *
bundle *data, GList *dest_list)
{
GList *tmp_list = NULL;
- int ret =
0
;
+ int ret =
ES_R_OK
;
char *dest_name;
if (dest_list) {
@@
-993,7
+993,7
@@
static int __eventsystem_send_trusted_event(GDBusConnection *conn, eventinfo_s *
_E("dest_list is null");
}
- return
ES_R_OK
;
+ return
ret
;
}
static int __update_last_data_item(eventinfo_s *evti, bundle *data)