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
355a0aef
Commit
355a0aef
authored
Nov 26, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Avoid dead code in BuildCallFrom16Core (Coverity).
parent
96e13da9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
relay.c
tools/winebuild/relay.c
+5
-3
No files found.
tools/winebuild/relay.c
View file @
355a0aef
...
...
@@ -224,6 +224,7 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
output
(
"
\t
.byte 0x66
\n
"
);
output
(
"
\t
lret
\n
"
);
output_function_size
(
"__wine_call_from_16_thunk"
);
return
;
}
...
...
@@ -333,6 +334,8 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
output
(
"
\t
popl %%ds
\n
"
);
output
(
"
\t
popfl
\n
"
);
output
(
"
\t
lret
\n
"
);
output_function_size
(
"__wine_call_from_16_regs"
);
}
else
{
...
...
@@ -352,10 +355,9 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
/* Return to return stub which will return to caller */
output
(
"
\t
lret $12
\n
"
);
output_function_size
(
"__wine_call_from_16"
);
}
if
(
thunk
)
output_function_size
(
"__wine_call_from_16_thunk"
);
else
if
(
reg_func
)
output_function_size
(
"__wine_call_from_16_regs"
);
else
output_function_size
(
"__wine_call_from_16"
);
}
...
...
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