Remove useless if.
This commit is contained in:
parent
ede061449e
commit
adbd417825
1 changed files with 3 additions and 5 deletions
|
@ -43,11 +43,9 @@ print_map(CFWMap *map)
|
|||
fputs("{\n", stdout);
|
||||
|
||||
while (iter.key != NULL) {
|
||||
if (iter.obj != NULL)
|
||||
printf("\t%s = %s\n", cfw_string_c(iter.key),
|
||||
printf("\t%s = %s\n",
|
||||
cfw_string_c(iter.key),
|
||||
cfw_string_c(iter.obj));
|
||||
else
|
||||
printf("\t%s = NULL\n", cfw_string_c(iter.key));
|
||||
|
||||
cfw_map_iter_next(&iter);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue