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
bba0180e
Commit
bba0180e
authored
Oct 21, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Avoid shadowing "buffer" variable.
parent
615e9572
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
except.c
dlls/kernel32/except.c
+1
-3
No files found.
dlls/kernel32/except.c
View file @
bba0180e
...
...
@@ -190,7 +190,7 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
STARTUPINFOA
startup
;
char
*
format
=
NULL
;
BOOL
ret
=
FALSE
;
char
buffer
[
256
];
char
buffer
[
256
];
static
const
WCHAR
AeDebugW
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
...
...
@@ -214,7 +214,6 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
if
(
!
NtOpenKey
(
&
hDbgConf
,
KEY_READ
,
&
attr
))
{
char
buffer
[
64
];
KEY_VALUE_PARTIAL_INFORMATION
*
info
;
DWORD
format_size
=
0
;
...
...
@@ -286,7 +285,6 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
if
(
pMessageBoxA
)
{
static
const
char
msg
[]
=
".
\n
Do you wish to debug it?"
;
char
buffer
[
256
];
format_exception_msg
(
epointers
,
buffer
,
sizeof
(
buffer
)
-
sizeof
(
msg
)
);
strcat
(
buffer
,
msg
);
...
...
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