diff --git a/src/protocol/uri.c b/src/protocol/uri.c index 45d0e39c3..f201b5921 100644 --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -150,8 +150,6 @@ check_uri_file(unsigned char *name) { /* Check POST_CHAR etc ... */ static const unsigned char chars[] = POST_CHAR_S "#?"; - int i; - int namelen = strlen(name); return strcspn(name, chars); }