mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Drop useless goto/label.
This commit is contained in:
parent
942fde534d
commit
ed21e3275c
@ -2213,10 +2213,8 @@ ret:
|
||||
/* Clear memory to prevent bad key comparaison due to alignment
|
||||
* of key fields. */
|
||||
struct table_cache_entry *tce = mem_calloc(1, sizeof(*tce));
|
||||
/* A goto is used here to prevent a test or code
|
||||
* redundancy. */
|
||||
if (!tce) goto end;
|
||||
|
||||
if (tce) {
|
||||
tce->key.start = start;
|
||||
tce->key.end = end;
|
||||
tce->key.align = align;
|
||||
@ -2234,8 +2232,7 @@ ret:
|
||||
table_cache_entries++;
|
||||
}
|
||||
}
|
||||
|
||||
end:
|
||||
}
|
||||
|
||||
return part;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user