(verify_row): if/else with negated condition is confusing. Negate

condition, swap conditional statements.
This commit is contained in:
Markus Armbruster 2006-02-05 19:13:58 +00:00
parent b11b81da8f
commit 1e17cc77cb

View file

@ -52,12 +52,12 @@ verify_row(int type, int row)
int ret_val = 0;
int in_mem = (ef_flags(type) & EFF_MEM) != 0;
if (!in_mem) {
row_ref = malloc(empfile[type].size);
ef_read(type, row, row_ref);
} else
if (in_mem)
row_ref = ef_ptr(type, row);
else {
row_ref = malloc(empfile[type].size);
ef_read(type, row, row_ref);
}
for (i = 0; ca[i].ca_name; ++i) {
if (ca[i].ca_flags & NSC_EXTRA)