joes 2004/06/14 22:12:05
Modified: env Makefile.am
t params.c
Log:
Fix compiler grumblings when in maintainer-mode
Revision Changes Path
1.22 +4 -0 httpd-apreq-2/env/Makefile.am
Index: Makefile.am
===================================================================
RCS file: /home/cvs/httpd-apreq-2/env/Makefile.am,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Makefile.am 14 Jun 2004 02:19:58 -0000 1.21
+++ Makefile.am 15 Jun 2004 05:12:05 -0000 1.22
@@ -6,6 +6,10 @@
check_PROGRAMS = test_cgi
+if MAINTAINER_MODE
+ AM_CPPFLAGS= -DAP_HAVE_DESIGNATED_INITIALIZER
+endif
+
if BUILD_HTTPD
# mod_apreq.c needs to be built from httpd-2.X, e.g.
1.11 +0 -1 httpd-apreq-2/t/params.c
Index: params.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/t/params.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- params.c 28 Feb 2004 07:48:15 -0000 1.10
+++ params.c 15 Jun 2004 05:12:05 -0000 1.11
@@ -55,7 +55,6 @@
static void string_decoding_in_place(CuTest *tc)
{
- apreq_value_t *v;
char *s1 = apr_palloc(p,4096);
char *s2 = apr_palloc(p,4096);