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
daa0e301
Commit
daa0e301
authored
Nov 24, 2021
by
Daniel Lehman
Committed by
Alexandre Julliard
Nov 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Fix uninitialized variable warning.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
015daccc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
profile.c
dlls/mscms/profile.c
+2
-3
No files found.
dlls/mscms/profile.c
View file @
daa0e301
...
...
@@ -1125,7 +1125,6 @@ BOOL WINAPI IsColorProfileTagPresent( HPROFILE handle, TAGTYPE type, PBOOL prese
*/
BOOL
WINAPI
IsColorProfileValid
(
HPROFILE
handle
,
PBOOL
valid
)
{
BOOL
ret
;
struct
profile
*
profile
=
grab_profile
(
handle
);
TRACE
(
"( %p, %p )
\n
"
,
handle
,
valid
);
...
...
@@ -1137,9 +1136,9 @@ BOOL WINAPI IsColorProfileValid( HPROFILE handle, PBOOL valid )
release_profile
(
profile
);
return
FALSE
;
}
if
(
profile
->
data
)
ret
=
*
valid
=
TRUE
;
*
valid
=
!!
profile
->
data
;
release_profile
(
profile
);
return
ret
;
return
*
valid
;
}
/******************************************************************************
...
...
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