From 792c47c090d36bdf51506a052369c73ed78eaba4 Mon Sep 17 00:00:00 2001 From: "wootak.jung" Date: Mon, 8 Apr 2013 08:45:24 +0900 Subject: [PATCH] [Prevent] Logically dead code dead_error_condition: On this path, the condition "mapping_tbl_list == NULL" cannot be true. --- src/core_object.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core_object.c b/src/core_object.c index e85b186..b7467fc 100644 --- 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; -- 2.7.4