From d80b072e1b876f469c12b3f714ee92795500bcb0 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 29 Jan 2006 10:15:16 +0100 Subject: [PATCH] Compile fix after check_uri_file() after the cleanup --- src/protocol/uri.c | 2 -- 1 file changed, 2 deletions(-) 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); }