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
0b74259f
Commit
0b74259f
authored
Mar 22, 2009
by
James Hawkins
Committed by
Alexandre Julliard
Mar 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32: Fix the use of an uninitialized variable (Coverity 908).
parent
9701da43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dsm.c
dlls/twain_32/tests/dsm.c
+1
-0
No files found.
dlls/twain_32/tests/dsm.c
View file @
0b74259f
...
@@ -329,6 +329,7 @@ static void test_resolution(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16 c
...
@@ -329,6 +329,7 @@ static void test_resolution(TW_IDENTITY *appid, TW_IDENTITY *source, TW_UINT16 c
"Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
"Error [rc %d|cc %d] doing MSG_GETDEFAULT for type 0x%x
\n
"
,
rc
,
status
.
ConditionCode
,
captype
);
if
(
rc
==
TWRC_SUCCESS
)
if
(
rc
==
TWRC_SUCCESS
)
{
{
get_onevalue
(
cap
.
hContainer
,
&
val
,
&
type
);
ok
(
type
==
TWTY_FIX32
,
"GETDEFAULT for RESOLUTION is not type FIX32, is type %d
\n
"
,
type
);
ok
(
type
==
TWTY_FIX32
,
"GETDEFAULT for RESOLUTION is not type FIX32, is type %d
\n
"
,
type
);
memcpy
(
&
default_value
,
&
val
,
sizeof
(
default_value
));
memcpy
(
&
default_value
,
&
val
,
sizeof
(
default_value
));
GlobalFree
(
cap
.
hContainer
);
GlobalFree
(
cap
.
hContainer
);
...
...
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