grid: row_uri_range_erase(): assume caller has checked row->extra != NULL

This commit is contained in:
Daniel Eklöf 2021-11-20 14:40:16 +01:00
parent 0be55ef74c
commit 503c2ebd50
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

3
grid.c
View file

@ -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) {