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
89cb5019
Commit
89cb5019
authored
Apr 19, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Apr 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Assorted fixes for shadow variables.
parent
acea60ca
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
dwarf.c
dlls/dbghelp/dwarf.c
+2
-2
msc.c
dlls/dbghelp/msc.c
+4
-1
path.c
dlls/dbghelp/path.c
+0
-1
stabs.c
dlls/dbghelp/stabs.c
+0
-1
No files found.
dlls/dbghelp/dwarf.c
View file @
89cb5019
...
...
@@ -2188,7 +2188,7 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
vector_init
(
&
files
,
sizeof
(
unsigned
),
16
);
while
(
*
traverse
.
data
)
{
unsigned
int
dir_index
,
mod_time
,
length
;
unsigned
int
dir_index
,
mod_time
;
const
char
*
name
;
const
char
*
dir
;
unsigned
*
psrc
;
...
...
@@ -2199,7 +2199,7 @@ static BOOL dwarf2_parse_line_numbers(const dwarf2_section_t* sections,
mod_time
=
dwarf2_leb128_as_unsigned
(
&
traverse
);
length
=
dwarf2_leb128_as_unsigned
(
&
traverse
);
dir
=
*
(
const
char
**
)
vector_at
(
&
dirs
,
dir_index
);
TRACE
(
"Got file %s/%s (%u,%u)
\n
"
,
dir
,
name
,
mod_time
,
length
);
TRACE
(
"Got file %s/%s (%u,%
l
u)
\n
"
,
dir
,
name
,
mod_time
,
length
);
psrc
=
vector_add
(
&
files
,
&
ctx
->
pool
);
*
psrc
=
source_new
(
ctx
->
module
,
dir
,
name
);
}
...
...
dlls/dbghelp/msc.c
View file @
89cb5019
...
...
@@ -1551,7 +1551,6 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
int
i
,
length
;
struct
symt_block
*
block
=
NULL
;
struct
symt
*
symt
;
const
char
*
name
;
struct
symt_compiland
*
compiland
=
NULL
;
struct
location
loc
;
...
...
@@ -1947,9 +1946,13 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
case
S_PROCREF_V1
:
case
S_DATAREF_V1
:
case
S_LPROCREF_V1
:
{
const
char
*
name
;
name
=
(
const
char
*
)
sym
+
length
;
length
+=
(
*
name
+
1
+
3
)
&
~
3
;
break
;
}
case
S_MSTOOL_V3
:
/* just to silence a few warnings */
case
S_MSTOOLINFO_V3
:
...
...
dlls/dbghelp/path.c
View file @
89cb5019
...
...
@@ -479,7 +479,6 @@ static BOOL CALLBACK module_find_cb(PCWSTR buffer, PVOID user)
{
HANDLE
hFile
,
hMap
;
void
*
mapping
;
DWORD
timestamp
;
timestamp
=
~
mf
->
dw1
;
size
=
~
mf
->
dw2
;
...
...
dlls/dbghelp/stabs.c
View file @
89cb5019
...
...
@@ -604,7 +604,6 @@ static inline int stabs_pts_read_method_info(struct ParseTypedefData* ptd)
if
(
mthd
==
'*'
)
{
long
int
ofs
;
struct
symt
*
dt
;
PTS_ABORTIF
(
ptd
,
stabs_pts_read_number
(
ptd
,
&
ofs
)
==
-
1
);
PTS_ABORTIF
(
ptd
,
*
ptd
->
ptr
++
!=
';'
);
...
...
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