Commit 1dd74a07 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence warnings

parent 8f4e45ad
......@@ -621,6 +621,7 @@ static char xslmsg[] =
" </html>\n"
" </xsl:template>\n"
"</xsl:stylesheet>\n";
#ifdef HAVE_LIBXML2
static const char *nsstats_xmldesc[] = { "Requestv4",
"Requestv6",
"ReqEdns0",
......@@ -694,3 +695,4 @@ static const char *resstats_xmldesc[] = { "Queryv4",
"ValNegOk",
"ValFail"
};
#endif
......@@ -14,12 +14,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: convertxsl.pl,v 1.12 2008/04/03 05:55:51 marka Exp $
# $Id: convertxsl.pl,v 1.13 2008/04/03 10:52:46 marka Exp $
use strict;
use warnings;
my $rev = '$Id: convertxsl.pl,v 1.12 2008/04/03 05:55:51 marka Exp $';
my $rev = '$Id: convertxsl.pl,v 1.13 2008/04/03 10:52:46 marka Exp $';
$rev =~ s/\$//g;
$rev =~ s/,v//g;
$rev =~ s/Id: //;
......@@ -64,6 +64,7 @@ print $lines;
print ';', "\n";
print '#ifdef HAVE_LIBXML2', "\n";
print "static const char *nsstats_xmldesc[] = {";
while (my $desc = shift(@nsstatsdesc)) {
print "\t\"$desc\"";
......@@ -87,3 +88,4 @@ while (my $desc = shift(@resstatsdesc)) {
print "\n";
}
print "};\n";
print '#endif', "\n";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment