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
949681d8
Commit
949681d8
authored
Sep 14, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Fix an uninitialized variable warning with clang.
parent
c63b323e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
provider.c
dlls/localspl/provider.c
+2
-4
No files found.
dlls/localspl/provider.c
View file @
949681d8
...
...
@@ -1646,7 +1646,7 @@ static HANDLE xcv_alloc_handle(const WCHAR *name, PRINTER_DEFAULTSW *def, BOOL *
{
static
const
WCHAR
xcv_monitor
[]
=
L"XcvMonitor "
;
static
const
WCHAR
xcv_port
[]
=
L"XcvPort "
;
BOOL
mon
,
port
;
BOOL
mon
;
xcv_t
*
xcv
;
*
stop_search
=
FALSE
;
...
...
@@ -1664,11 +1664,9 @@ static HANDLE xcv_alloc_handle(const WCHAR *name, PRINTER_DEFAULTSW *def, BOOL *
}
else
{
port
=
!
wcsncmp
(
name
,
xcv_port
,
ARRAY_SIZE
(
xcv_port
)
-
1
)
;
if
(
wcsncmp
(
name
,
xcv_port
,
ARRAY_SIZE
(
xcv_port
)
-
1
))
return
NULL
;
name
+=
ARRAY_SIZE
(
xcv_port
)
-
1
;
}
if
(
!
port
&&
!
mon
)
return
NULL
;
*
stop_search
=
TRUE
;
xcv
=
calloc
(
1
,
sizeof
(
*
xcv
));
...
...
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