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
72216a60
Commit
72216a60
authored
May 24, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Remove variable basic_block which is not really used from dwarf2_parse_line_numbers.
parent
c8748d73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
dwarf.c
dlls/dbghelp/dwarf.c
+1
-4
No files found.
dlls/dbghelp/dwarf.c
View file @
72216a60
...
...
@@ -2003,7 +2003,7 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
unsigned
file
=
1
;
unsigned
line
=
1
;
unsigned
is_stmt
=
default_stmt
;
BOOL
basic_block
=
FALSE
,
end_sequence
=
FALSE
;
BOOL
end_sequence
=
FALSE
;
unsigned
opcode
,
extopcode
,
i
;
while
(
!
end_sequence
)
...
...
@@ -2017,7 +2017,6 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
address
+=
(
delta
/
line_range
)
*
insn_size
;
line
+=
line_base
+
(
delta
%
line_range
);
basic_block
=
TRUE
;
dwarf2_set_line_number
(
ctx
->
module
,
address
,
&
files
,
file
,
line
);
}
else
...
...
@@ -2025,7 +2024,6 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
switch
(
opcode
)
{
case
DW_LNS_copy
:
basic_block
=
FALSE
;
dwarf2_set_line_number
(
ctx
->
module
,
address
,
&
files
,
file
,
line
);
break
;
case
DW_LNS_advance_pc
:
...
...
@@ -2044,7 +2042,6 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
is_stmt
=
!
is_stmt
;
break
;
case
DW_LNS_set_basic_block
:
basic_block
=
1
;
break
;
case
DW_LNS_const_add_pc
:
address
+=
((
255
-
opcode_base
)
/
line_range
)
*
insn_size
;
...
...
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