[Prevent] Logically dead code
authorwootak.jung <wootak.jung@samsung.com>
Sun, 7 Apr 2013 23:45:24 +0000 (08:45 +0900)
committerwootak.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

index e85b186..b7467fc 100644 (file)
@@ -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;