diff options
-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", |