Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
834f7b23
Commit
834f7b23
authored
Jun 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Fix an uninitialized variable warning in the PE build.
parent
cc2cfb9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
winegcc.c
tools/winegcc/winegcc.c
+5
-11
No files found.
tools/winegcc/winegcc.c
View file @
834f7b23
...
...
@@ -305,24 +305,18 @@ static struct strarray build_tool_name( struct options *opts, enum tool tool )
static
struct
strarray
get_translator
(
struct
options
*
opts
)
{
enum
tool
tool
;
switch
(
opts
->
processor
)
{
case
proc_cpp
:
tool
=
TOOL_CPP
;
break
;
return
build_tool_name
(
opts
,
TOOL_CPP
);
case
proc_cc
:
case
proc_as
:
tool
=
TOOL_CC
;
break
;
return
build_tool_name
(
opts
,
TOOL_CC
);
case
proc_cxx
:
tool
=
TOOL_CXX
;
break
;
default:
assert
(
0
);
return
build_tool_name
(
opts
,
TOOL_CXX
);
}
return
build_tool_name
(
opts
,
tool
);
assert
(
0
);
return
empty_strarray
;
}
static
int
try_link
(
struct
strarray
prefix
,
struct
strarray
link_tool
,
const
char
*
cflags
)
...
...
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