ddraw/tests: Remove redundant not NULL check (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-20 20:54:24 +01:00 committed by Alexandre Julliard
parent 236d3c5df8
commit 74111f3882
4 changed files with 4 additions and 4 deletions

View File

@ -5246,7 +5246,7 @@ cleanup:
if (gl) FreeLibrary(gl);
if (hdc) ReleaseDC(window, hdc);
if (hdc2) ReleaseDC(window2, hdc2);
if (window) DestroyWindow(window);
DestroyWindow(window);
if (window2) DestroyWindow(window2);
}

View File

@ -6271,7 +6271,7 @@ cleanup:
if (gl) FreeLibrary(gl);
if (hdc) ReleaseDC(window, hdc);
if (hdc2) ReleaseDC(window2, hdc2);
if (window) DestroyWindow(window);
DestroyWindow(window);
if (window2) DestroyWindow(window2);
}

View File

@ -7785,7 +7785,7 @@ cleanup:
if (gl) FreeLibrary(gl);
if (hdc) ReleaseDC(window, hdc);
if (hdc2) ReleaseDC(window2, hdc2);
if (window) DestroyWindow(window);
DestroyWindow(window);
if (window2) DestroyWindow(window2);
}

View File

@ -7615,7 +7615,7 @@ cleanup:
if (gl) FreeLibrary(gl);
if (hdc) ReleaseDC(window, hdc);
if (hdc2) ReleaseDC(window2, hdc2);
if (window) DestroyWindow(window);
DestroyWindow(window);
if (window2) DestroyWindow(window2);
}