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
b15bcdde
Commit
b15bcdde
authored
Jul 21, 2008
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jul 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix the type of four loop variables and reduce scope of one.
parent
ec351ad1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
display.c
programs/winedbg/display.c
+5
-5
No files found.
programs/winedbg/display.c
View file @
b15bcdde
...
...
@@ -56,7 +56,7 @@ static inline BOOL cmp_symbol(const SYMBOL_INFO* si1, const SYMBOL_INFO* si2)
int
display_add
(
struct
expr
*
exp
,
int
count
,
char
format
)
{
int
i
;
unsigned
i
;
BOOL
local_binding
=
FALSE
;
for
(
i
=
0
;
i
<
ndisplays
;
i
++
)
...
...
@@ -98,7 +98,7 @@ int display_add(struct expr *exp, int count, char format)
int
display_info
(
void
)
{
int
i
;
unsigned
i
;
char
buffer
[
sizeof
(
SYMBOL_INFO
)
+
256
];
SYMBOL_INFO
*
func
;
const
char
*
info
;
...
...
@@ -163,7 +163,7 @@ static void print_one_display(int i)
int
display_print
(
void
)
{
int
i
;
unsigned
i
;
char
buffer
[
sizeof
(
SYMBOL_INFO
)
+
256
];
SYMBOL_INFO
*
func
;
...
...
@@ -187,8 +187,6 @@ int display_print(void)
int
display_delete
(
int
displaynum
)
{
int
i
;
if
(
displaynum
>
ndisplays
||
displaynum
==
0
||
displaynum
<
-
1
||
displaypoints
[
displaynum
-
1
].
exp
==
NULL
)
{
...
...
@@ -198,6 +196,8 @@ int display_delete(int displaynum)
if
(
displaynum
==
-
1
)
{
unsigned
i
;
for
(
i
=
0
;
i
<
ndisplays
;
i
++
)
{
if
(
displaypoints
[
i
].
exp
!=
NULL
)
...
...
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