You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/05/20 01:24:20 UTC
cvs commit: apache-2.0/src/modules/standard mod_file_cache.c
wrowe 00/05/19 16:24:20
Modified: src/modules/standard mod_file_cache.c
Log:
Why should Ryan have all the fun?
Cleans up compiler warning emits.
Revision Changes Path
1.4 +6 -2 apache-2.0/src/modules/standard/mod_file_cache.c
Index: mod_file_cache.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_file_cache.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mod_file_cache.c 2000/04/27 03:55:57 1.3
+++ mod_file_cache.c 2000/05/19 23:24:19 1.4
@@ -274,10 +274,12 @@
ap_pool_t *ptemp, server_rec *s)
{
a_server_config *sconf;
- ap_array_header_t *inodes;
a_file *elts;
int nelts;
+#ifndef WIN32
+ ap_array_header_t *inodes;
int i;
+#endif
context = p;
/* sort the elements of the main_server, by filename */
@@ -391,9 +393,11 @@
a_server_config *sconf;
a_file tmp;
a_file *ptmp;
- a_file **pmatch;
a_file *match;
int rangestatus, errstatus;
+#ifndef WIN32
+ a_file **pmatch;
+#endif
/* we don't handle anything but GET */
if (r->method_number != M_GET) return DECLINED;