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++) {