aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
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",