From 9c8092eda6e1e63d28dc4299353cf1a8c30b0aa5 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sun, 19 May 2013 15:43:01 +0000 Subject: Fixed warnings --- src/punycode.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/punycode.c') diff --git a/src/punycode.c b/src/punycode.c index fa44a6a..187351a 100644 --- a/src/punycode.c +++ b/src/punycode.c @@ -278,6 +278,9 @@ enum punycode_status punycode_decode(punycode_uint input_length, return punycode_success; } +#ifdef PUNYCODE_COSTELLO_RFC3492_INCLUDE_TEST +#define PUNYCODE_COSTELLO_RFC3492_INCLUDE_TEST + /******************************************************************/ /* Wrapper for testing (would normally go in a separate .c file): */ @@ -321,6 +324,8 @@ static const char invalid_input[] = "invalid input\n"; static const char overflow[] = "arithmetic overflow\n"; static const char io_error[] = "I/O error\n"; +#endif + /* The following string is used to convert printable */ /* characters between ASCII and the native charset: */ -- cgit v1.2.3