ntdll/tests: Avoid harcoding array lengths.

oldstable
Frédéric Delanoy 2011-11-21 09:17:06 +01:00 committed by Alexandre Julliard
parent 9d6204b297
commit ea67d804f3
1 changed files with 2 additions and 2 deletions

View File

@ -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 */
{