Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id DAA08272; Tue, 2 Sep 1997 03:39:40 -0700 (PDT) Received: (from coar@localhost) by hyperreal.org (8.8.5/8.8.5) id DAA08237 for apache-cvs; Tue, 2 Sep 1997 03:39:37 -0700 (PDT) Date: Tue, 2 Sep 1997 03:39:37 -0700 (PDT) From: Rodent of Unusual Size Message-Id: <199709021039.DAA08237@hyperreal.org> To: apache-cvs@hyperreal.org Subject: cvs commit: apachen/src/modules/proxy proxy_util.c Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org coar 97/09/02 03:39:36 Modified: src/modules/proxy proxy_util.c Log: Remove a bit of unused code (probably optmised away by reasonable compilers, but why needlessly confuse humans?). Submitted by: Martin Kraemer Reviewed by: Dean Gaudet, Ken Coar Revision Changes Path 1.26 +1 -2 apachen/src/modules/proxy/proxy_util.c Index: proxy_util.c =================================================================== RCS file: /export/home/cvs/apachen/src/modules/proxy/proxy_util.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- proxy_util.c 1997/09/01 03:07:28 1.25 +++ proxy_util.c 1997/09/02 10:39:34 1.26 @@ -110,7 +110,7 @@ char * proxy_canonenc(pool *p, const char *x, int len, enum enctype t, int isenc) { - int i, j, ispath, ch; + int i, j, ch; char *y; const char *allowed; /* characters which should not be encoded */ const char *reserved; /* characters which much not be en/de-coded */ @@ -133,7 +133,6 @@ else reserved = ""; y = palloc(p, 3*len+1); - ispath = (t == enc_path); for (i=0, j=0; i < len; i++, j++) {