aboutsummaryrefslogtreecommitdiff
path: root/uri.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-02-12 18:09:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-02-12 18:09:48 +0000
commit1c16e4a575713581140b81198c0a57dbbf5c0cc6 (patch)
tree899d1459a83da2f06c8e5c5ad02eca436f6227ac /uri.c
parentcompletions: bash: simplify awk command used to filter terminfo names (diff)
Tag a couple variables with UNUSED, to fix warnings with clang-15
Closes #1278
Diffstat (limited to 'uri.c')
-rw-r--r--uri.c2
1 files changed, 1 insertions, 1 deletions
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 '%' */