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
80218d19
Commit
80218d19
authored
Nov 28, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Don't clear a variable before it goes out of scope (PVS-Studio).
parent
f87767bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
bitmap.c
dlls/gdi32/tests/bitmap.c
+0
-1
No files found.
dlls/gdi32/tests/bitmap.c
View file @
80218d19
...
@@ -4540,7 +4540,6 @@ static void test_GetDIBits_scanlines(void)
...
@@ -4540,7 +4540,6 @@ static void test_GetDIBits_scanlines(void)
ok
(
ret
==
2
,
"got %d
\n
"
,
ret
);
ok
(
ret
==
2
,
"got %d
\n
"
,
ret
);
ok
(
!
memcmp
(
data
,
inverted_bits
+
32
,
16
*
4
),
"bits differ
\n
"
);
ok
(
!
memcmp
(
data
,
inverted_bits
+
32
,
16
*
4
),
"bits differ
\n
"
);
for
(
i
=
16
;
i
<
128
;
i
++
)
ok
(
data
[
i
]
==
0xaaaaaaaa
,
"%d: got %08x
\n
"
,
i
,
data
[
i
]
);
for
(
i
=
16
;
i
<
128
;
i
++
)
ok
(
data
[
i
]
==
0xaaaaaaaa
,
"%d: got %08x
\n
"
,
i
,
data
[
i
]
);
memset
(
data
,
0xaa
,
sizeof
(
data
)
);
DeleteObject
(
dib
);
DeleteObject
(
dib
);
...
...
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