summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u32-prev.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistr/test-u32-prev.c')
-rw-r--r--tests/unistr/test-u32-prev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unistr/test-u32-prev.c b/tests/unistr/test-u32-prev.c
index a49525d..cdcda94 100644
--- a/tests/unistr/test-u32-prev.c
+++ b/tests/unistr/test-u32-prev.c
@@ -1,5 +1,5 @@
/* Test of u32_prev() function.
- Copyright (C) 2010-2015 Free Software Foundation, Inc.
+ Copyright (C) 2010-2016 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -56,7 +56,6 @@ check (const uint32_t *input, size_t input_length, ucs4_t *puc)
static int
check_invalid (const uint32_t *input, size_t input_length)
{
-#if CONFIG_UNICODE_SAFETY
ucs4_t uc;
/* Test recognition when at the beginning of the string. */
@@ -83,7 +82,6 @@ check_invalid (const uint32_t *input, size_t input_length)
if (uc != 0xBADFACE)
return 4;
}
-#endif
return 0;
}