From 278d3089fa804d90c55b77d64248dda20feae732 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 16:24:15 +0200 Subject: Remove unused variable --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index bc0ac4a..3bc202f 100644 --- a/main.c +++ b/main.c @@ -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", -- cgit v1.2.3