From ea67d804f3a3d39647714051c3b6cb7cafdde3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Mon, 21 Nov 2011 09:17:06 +0100 Subject: [PATCH] ntdll/tests: Avoid harcoding array lengths. --- dlls/ntdll/tests/string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c index 802a1655fc9..a4d0b8a2bc6 100644 --- a/dlls/ntdll/tests/string.c +++ b/dlls/ntdll/tests/string.c @@ -1146,8 +1146,8 @@ static void test_wcsrchr(void) static void test_wcslwrupr(void) { static WCHAR teststringW[] = {'a','b','r','a','c','a','d','a','b','r','a',0}; - static WCHAR emptyW[1] = {0}; - static const WCHAR constemptyW[1] = {0}; + static WCHAR emptyW[] = {0}; + static const WCHAR constemptyW[] = {0}; if (0) /* crashes on native */ {