]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix GCC 4.6 unused variable in regex
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 13 Aug 2011 14:49:59 +0000 (02:49 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 13 Aug 2011 14:49:59 +0000 (02:49 +1200)
src/acl/RegexData.cc

index 80e7e7defb3e94e0e9b1ca1e04cb3f5451e68dc1..1ae1eb437a7c51dd4e0c6b26cc7b146c03ddf567 100644 (file)
@@ -292,8 +292,6 @@ compileUnoptimisedREs(relist **curlist, wordlist * wl)
         ;
 
     while (wl != NULL) {
-        int RElen;
-        RElen = strlen( wl->key );
         if (strcmp(wl->key, "-i") == 0) {
             flags |= REG_ICASE;
         } else if (strcmp(wl->key, "+i") == 0) {