aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sixel.c2
-rw-r--r--uri.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sixel.c b/sixel.c
index a824c405..592f48f8 100644
--- a/sixel.c
+++ b/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(
diff --git a/uri.c b/uri.c
index 39073bde..7214a479 100644
--- a/uri.c
+++ b/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 '%' */