Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ekaterine Papava
wine
Commits
834f7b23
Commit
834f7b23
authored
1 year ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
winegcc: Fix an uninitialized variable warning in the PE build.
parent
cc2cfb9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/winegcc/winegcc.c
+5
-11
5 additions, 11 deletions
tools/winegcc/winegcc.c
with
5 additions
and
11 deletions
tools/winegcc/winegcc.c
+
5
−
11
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment