mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
term: 'end' variable is only used in assert()
This commit is contained in:
parent
0954ffdf22
commit
4b824d824c
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ term_scroll_partial(struct terminal *term, struct scroll_region region, int rows
|
||||||
|
|
||||||
tll_foreach(term->grid->damage, it) {
|
tll_foreach(term->grid->damage, it) {
|
||||||
int start = it->item.range.start - term->grid->offset;
|
int start = it->item.range.start - term->grid->offset;
|
||||||
int end = start + it->item.range.length;
|
int end __attribute__((unused)) = start + it->item.range.length;
|
||||||
|
|
||||||
if (start < region.start) {
|
if (start < region.start) {
|
||||||
assert(end <= region.start);
|
assert(end <= region.start);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue