[prev in list] [next in list] [prev in thread] [next in thread]
List: apreq-cvs
Subject: svn commit: r106507 - /httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h
From: joes () apache ! org
Date: 2004-11-25 0:07:07
Message-ID: 20041125000707.67001.qmail () minotaur ! apache ! org
[Download RAW message or body]
Author: joes
Date: Wed Nov 24 16:07:06 2004
New Revision: 106507
URL: http://svn.apache.org/viewcvs?view=rev&rev=106507
Log:
My gcc is now complaining (incorrectly, it seems) about a few
uninitialized variables. This patch silences those warnings.
Modified:
httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h
Url: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tabl \
es.h?view=diff&rev=106507&p1=httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h&r1=106506&p2=httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h&r2=106507
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/apreq_xs_tables.h Wed Nov 24 16:07:06 2004
@@ -127,7 +127,7 @@
const char *key, *val; \
SV *sv, *obj; \
STRLEN klen, vlen; \
- apreq_##attr##_t *RETVAL; \
+ apreq_##attr##_t *RETVAL = NULL; \
\
switch (items) { \
case 2: \
@@ -442,7 +442,7 @@
struct apreq_xs_do_arg d = { NULL, NULL, NULL, NULL, 0, aTHX }; \
apr_table_t *t; \
void *env; \
- int i, rv; \
+ int i, rv = 1; \
SV *sv, *obj; \
MAGIC *mg; \
\
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic