[WIN32SS][NTGDI] Unite duplicate of condition 'UsesSource'
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 22 Oct 2019 00:33:32 +0000 (09:33 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 22 Oct 2019 00:33:32 +0000 (09:33 +0900)
win32ss/gdi/ntgdi/bitblt.c

index 8e9fac9..b60ef90 100644 (file)
@@ -471,16 +471,11 @@ NtGdiMaskBlt(
 
     if (UsesSource)
     {
-        {
-            BitmapSrc = DCSrc->dclevel.pSurface;
-            if (!BitmapSrc)
-                goto cleanup;
-        }
-    }
+        BitmapSrc = DCSrc->dclevel.pSurface;
+        if (!BitmapSrc)
+            goto cleanup;
 
-    /* Create the XLATEOBJ. */
-    if (UsesSource)
-    {
+        /* Create the XLATEOBJ. */
         EXLATEOBJ_vInitXlateFromDCs(&exlo, DCSrc, DCDest);
         XlateObj = &exlo.xlo;
     }