mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 19:10:21 +00:00
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:
parent
236d3c5df8
commit
74111f3882
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue