mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Tag a couple variables with UNUSED, to fix warnings with clang-15
Closes #1278
This commit is contained in:
parent
1823fa846a
commit
1c16e4a575
2 changed files with 2 additions and 2 deletions
2
sixel.c
2
sixel.c
|
|
@ -154,7 +154,7 @@ verify_list_order(const struct terminal *term)
|
|||
int prev_col_count = 0;
|
||||
|
||||
/* To aid debugging */
|
||||
size_t idx = 0;
|
||||
size_t UNUSED idx = 0;
|
||||
|
||||
tll_foreach(term->grid->sixel_images, it) {
|
||||
int row = grid_row_abs_to_sb(
|
||||
|
|
|
|||
2
uri.c
2
uri.c
|
|
@ -159,7 +159,7 @@ uri_parse(const char *uri, size_t len,
|
|||
char *p = decoded;
|
||||
|
||||
size_t encoded_len = path_len;
|
||||
size_t decoded_len = 0;
|
||||
size_t UNUSED decoded_len = 0;
|
||||
|
||||
while (true) {
|
||||
/* Find next '%' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue