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
46594b8e
Commit
46594b8e
authored
Apr 28, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Apr 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Make pdb_load_stream_name_table a void function.
parent
1986dabc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
msc.c
dlls/dbghelp/msc.c
+3
-4
No files found.
dlls/dbghelp/msc.c
View file @
46594b8e
...
...
@@ -2239,7 +2239,7 @@ static void pdb_free_file(struct pdb_file_info* pdb_file)
HeapFree
(
GetProcessHeap
(),
0
,
pdb_file
->
stream_dict
);
}
static
BOOL
pdb_load_stream_name_table
(
struct
pdb_file_info
*
pdb_file
,
const
char
*
str
,
unsigned
cb
)
static
void
pdb_load_stream_name_table
(
struct
pdb_file_info
*
pdb_file
,
const
char
*
str
,
unsigned
cb
)
{
DWORD
*
pdw
;
DWORD
*
ok_bits
;
...
...
@@ -2252,7 +2252,7 @@ static BOOL pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const cha
count
=
*
pdw
++
;
pdb_file
->
stream_dict
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
numok
+
1
)
*
sizeof
(
struct
pdb_stream_name
)
+
cb
);
if
(
!
pdb_file
->
stream_dict
)
return
FALSE
;
if
(
!
pdb_file
->
stream_dict
)
return
;
cpstr
=
(
char
*
)(
pdb_file
->
stream_dict
+
numok
+
1
);
memcpy
(
cpstr
,
str
,
cb
);
...
...
@@ -2262,7 +2262,7 @@ static BOOL pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const cha
if
(
*
pdw
++
!=
0
)
{
FIXME
(
"unexpected value
\n
"
);
return
-
1
;
return
;
}
for
(
i
=
j
=
0
;
i
<
count
;
i
++
)
...
...
@@ -2278,7 +2278,6 @@ static BOOL pdb_load_stream_name_table(struct pdb_file_info* pdb_file, const cha
/* add sentinel */
pdb_file
->
stream_dict
[
numok
].
name
=
NULL
;
pdb_file
->
fpoext_stream
=
-
1
;
return
j
==
numok
&&
i
==
count
;
}
static
unsigned
pdb_get_stream_by_name
(
const
struct
pdb_file_info
*
pdb_file
,
const
char
*
name
)
...
...
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