mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-08 10:06:22 -05:00
grid: row_uri_range_erase(): assume caller has checked row->extra != NULL
This commit is contained in:
parent
0be55ef74c
commit
503c2ebd50
1 changed files with 1 additions and 2 deletions
3
grid.c
3
grid.c
|
|
@ -877,8 +877,7 @@ out:
|
|||
void
|
||||
grid_row_uri_range_erase(struct row *row, int start, int end)
|
||||
{
|
||||
if (likely(row->extra == NULL))
|
||||
return;
|
||||
xassert(row->extra != NULL);
|
||||
|
||||
/* Split up, or remove, URI ranges affected by the erase */
|
||||
tll_foreach(row->extra->uri_ranges, it) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue