projects
/
platform
/
core
/
telephony
/
libtcore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb62f9
)
[Prevent] Logically dead code
author
wootak.jung
<wootak.jung@samsung.com>
Sun, 7 Apr 2013 23:45:24 +0000
(08:45 +0900)
committer
wootak.jung
<wootak.jung@samsung.com>
Sun, 7 Apr 2013 23:45:24 +0000
(08:45 +0900)
dead_error_condition: On this path, the condition "mapping_tbl_list == NULL"
cannot be true.
src/core_object.c
patch
|
blob
|
history
diff --git
a/src/core_object.c
b/src/core_object.c
index
e85b186
..
b7467fc
100644
(file)
--- a/
src/core_object.c
+++ b/
src/core_object.c
@@
-920,10
+920,6
@@
void tcore_object_print_mapping_tbl(void *mapping_tbl)
}
mapping_tbl_list = mapping_tbl;
- if (mapping_tbl_list == NULL) {
- err("No Mapping Table present");
- return;
- }
for ( ; mapping_tbl_list ; mapping_tbl_list = mapping_tbl_list->next) {
tbl_entry = mapping_tbl_list->data;