From 50aedb099c997b2ed24ce41d2c5f2b0056dc07eb Mon Sep 17 00:00:00 2001 From: Karel Miko Date: Tue, 28 Feb 2017 23:20:19 +0100 Subject: [PATCH] fixing warning introduced by __WCHAR_MAX__ patch --- src/pk/asn1/der/utf8/der_length_utf8_string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pk/asn1/der/utf8/der_length_utf8_string.c b/src/pk/asn1/der/utf8/der_length_utf8_string.c index 3a8ef06..7d0f60c 100644 --- a/src/pk/asn1/der/utf8/der_length_utf8_string.c +++ b/src/pk/asn1/der/utf8/der_length_utf8_string.c @@ -47,6 +47,7 @@ unsigned long der_utf8_charsize(const wchar_t c) */ int der_utf8_valid_char(const wchar_t c) { + LTC_UNUSED_PARAM(c); #if !defined(__WCHAR_MAX__) || __WCHAR_MAX__ > 0xFFFF if (c > 0x10FFFF) return 0; #endif