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
dcba8edb
Commit
dcba8edb
authored
Jan 13, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Remove an unused assignment (PVS-Studio).
parent
74007d44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
meshbuilder.c
dlls/d3drm/meshbuilder.c
+0
-1
No files found.
dlls/d3drm/meshbuilder.c
View file @
dcba8edb
...
@@ -1078,7 +1078,6 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3 *iface, IDirectXFileData *pData,
...
@@ -1078,7 +1078,6 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3 *iface, IDirectXFileData *pData,
This
->
nb_vertices
=
*
(
DWORD
*
)
ptr
;
This
->
nb_vertices
=
*
(
DWORD
*
)
ptr
;
This
->
nb_faces
=
*
(
DWORD
*
)(
ptr
+
sizeof
(
DWORD
)
+
This
->
nb_vertices
*
sizeof
(
D3DVECTOR
));
This
->
nb_faces
=
*
(
DWORD
*
)(
ptr
+
sizeof
(
DWORD
)
+
This
->
nb_vertices
*
sizeof
(
D3DVECTOR
));
faces_vertex_idx_size
=
size
-
sizeof
(
DWORD
)
-
This
->
nb_vertices
*
sizeof
(
D3DVECTOR
)
-
sizeof
(
DWORD
);
faces_vertex_idx_size
=
size
-
sizeof
(
DWORD
)
-
This
->
nb_vertices
*
sizeof
(
D3DVECTOR
)
-
sizeof
(
DWORD
);
faces_vertex_idx_ptr
=
(
DWORD
*
)(
ptr
+
sizeof
(
DWORD
)
+
This
->
nb_vertices
*
sizeof
(
D3DVECTOR
)
+
sizeof
(
DWORD
));
TRACE
(
"Mesh: nb_vertices = %d, nb_faces = %d, faces_vertex_idx_size = %d
\n
"
,
This
->
nb_vertices
,
This
->
nb_faces
,
faces_vertex_idx_size
);
TRACE
(
"Mesh: nb_vertices = %d, nb_faces = %d, faces_vertex_idx_size = %d
\n
"
,
This
->
nb_vertices
,
This
->
nb_faces
,
faces_vertex_idx_size
);
...
...
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