diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:24:15 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 16:24:15 +0200 |
commit | 278d3089fa804d90c55b77d64248dda20feae732 (patch) | |
tree | d53d609442d213877e0df2bbf41b08a1fb91a382 /main.c | |
parent | 00058af875bf79570c115ee32d3eb6181eb45659 (diff) |
Remove unused variable
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -139,14 +139,13 @@ main(int argc, char *argv[]) bool uri_parse(struct totp_config *conf, const char *uri_raw) { - int n; bool reject; size_t len; UriUriA uri; UriQueryListA *qs; const char *epos; - if ((n = uriParseSingleUriA(&uri, uri_raw, &epos)) != URI_SUCCESS) { + if (uriParseSingleUriA(&uri, uri_raw, &epos) != URI_SUCCESS) { len = epos - uri_raw + 24 + strlen(__progname); WARNX_AND_RET("Failed to parse URI ā%sā\n" "%*c Error detected here", |