Andrey Gusev : usp10: Remove worthless check.

Alexandre Julliard julliard at winehq.org
Fri Nov 3 18:05:39 CDT 2017


Module: wine
Branch: master
Commit: f6ad192cd220278a17fa840ba4e062ff1e39f02d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f6ad192cd220278a17fa840ba4e062ff1e39f02d

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Thu Nov  2 18:22:36 2017 +0200

usp10: Remove worthless check.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/usp10/usp10.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 59abbad..5d257b2 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -3028,9 +3028,6 @@ HRESULT WINAPI ScriptIsComplex(const WCHAR *chars, int len, DWORD flag)
 
     for (i = 0; i < len; i+=consumed)
     {
-        if (i >= len)
-            break;
-
         if ((flag & SIC_ASCIIDIGIT) && chars[i] >= 0x30 && chars[i] <= 0x39)
             return S_OK;
 




More information about the wine-cvs mailing list