httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r215945 - in /httpd/apreq/trunk/library: parser_header.c util.c
Date Tue, 12 Jul 2005 13:13:13 GMT
Author: joes
Date: Tue Jul 12 06:13:12 2005
New Revision: 215945

URL: http://svn.apache.org/viewcvs?rev=215945&view=rev
Log:
Silence gcc-4.0 warnings.

Modified:
    httpd/apreq/trunk/library/parser_header.c
    httpd/apreq/trunk/library/util.c

Modified: httpd/apreq/trunk/library/parser_header.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/parser_header.c?rev=215945&r1=215944&r2=215945&view=diff
==============================================================================
--- httpd/apreq/trunk/library/parser_header.c (original)
+++ httpd/apreq/trunk/library/parser_header.c Tue Jul 12 06:13:12 2005
@@ -182,7 +182,8 @@
         apr_size_t off = 0, dlen;
         const char *data;
         apr_status_t s;
-        apreq_param_t *param;
+        apreq_param_t *param = NULL; /* silences gcc-4.0 warning */
+
         if (APR_BUCKET_IS_EOS(e)) {
             ctx->status = HDR_COMPLETE;
             APR_BRIGADE_CONCAT(bb, ctx->bb);

Modified: httpd/apreq/trunk/library/util.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/util.c?rev=215945&r1=215944&r2=215945&view=diff
==============================================================================
--- httpd/apreq/trunk/library/util.c (original)
+++ httpd/apreq/trunk/library/util.c Tue Jul 12 06:13:12 2005
@@ -743,7 +743,7 @@
                                  const apr_array_header_t *arr,
                                  apreq_join_t mode)
 {
-    apr_ssize_t len, slen;
+    apr_size_t len, slen;
     char *rv;
     const apreq_value_t **a = (const apreq_value_t **)arr->elts;
     char *d;



Mime
View raw message