httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject mod_xml2enc: warning: variable 'rv' set but not used
Date Tue, 29 Nov 2011 21:44:26 GMT
Hi all,

I've noticed some warnings in mod_xml2enc:

mod_xml2enc.c: In function 'fix_skipto':
mod_xml2enc.c:123:18: warning: variable 'rv' set but not used [-Wunused-but-set-variable]
mod_xml2enc.c: In function 'sniff_encoding':
mod_xml2enc.c:167:18: warning: variable 'rv' set but not used [-Wunused-but-set-variable]

Should we be handling the errors here?

                    rv = apr_brigade_partition(ctx->bbsave, (p-ctx->buf),
                                               &bstart);

Regards,
Graham
--


Mime
View raw message