Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
59a0e3d1
Commit
59a0e3d1
authored
Oct 03, 2015
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d11: Remove useless NULL check (Coverity).
Signed-off-by:
Marcus Meissner
<
marcus@jet.franken.de
>
parent
eb58fef6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
d3d11_main.c
dlls/d3d11/d3d11_main.c
+1
-2
No files found.
dlls/d3d11/d3d11_main.c
View file @
59a0e3d1
...
...
@@ -342,8 +342,7 @@ HRESULT WINAPI D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter, D3D_DRIVER_T
return
S_OK
;
cleanup:
if
(
device
)
ID3D11Device_Release
(
device
);
ID3D11Device_Release
(
device
);
if
(
obtained_feature_level
)
*
obtained_feature_level
=
0
;
if
(
immediate_context
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment