=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: ntdll/tests: Avoid harcoding array lengths.
Alexandre Julliard
julliard at winehq.org
Mon Nov 21 11:10:07 CST 2011
Module: wine
Branch: master
Commit: ea67d804f3a3d39647714051c3b6cb7cafdde3a4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ea67d804f3a3d39647714051c3b6cb7cafdde3a4
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Mon Nov 21 09:17:06 2011 +0100
ntdll/tests: Avoid harcoding array lengths.
---
dlls/ntdll/tests/string.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c
index 802a165..a4d0b8a 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 */
{
More information about the wine-cvs
mailing list