Module: wine Branch: master Commit: 98e248682055778646e06f2c29d33c60e4d35291 URL: http://source.winehq.org/git/wine.git/?a=commit;h=98e248682055778646e06f2c29...
Author: Eric Pouech eric.pouech@orange.fr Date: Fri May 23 20:04:55 2008 +0200
winedbg: Removed unneeded variable from print_basic.
---
programs/winedbg/debugger.h | 2 +- programs/winedbg/memory.c | 2 +- programs/winedbg/types.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h index f95c3d1..d11e291 100644 --- a/programs/winedbg/debugger.h +++ b/programs/winedbg/debugger.h @@ -367,7 +367,7 @@ extern BOOL memory_disasm_one_insn(ADDRESS64* addr); extern char* memory_offset_to_string(char *str, DWORD64 offset, unsigned mode); extern void print_bare_address(const ADDRESS64* addr); extern void print_address(const ADDRESS64* addr, BOOLEAN with_line); -extern void print_basic(const struct dbg_lvalue* value, int count, char format); +extern void print_basic(const struct dbg_lvalue* value, char format);
/* source.c */ extern void source_list(IMAGEHLP_LINE* src1, IMAGEHLP_LINE* src2, int delta); diff --git a/programs/winedbg/memory.c b/programs/winedbg/memory.c index 50fe3df..70ca4ca 100644 --- a/programs/winedbg/memory.c +++ b/programs/winedbg/memory.c @@ -464,7 +464,7 @@ static void print_typed_basic(const struct dbg_lvalue* lvalue) * * Implementation of the 'print' command. */ -void print_basic(const struct dbg_lvalue* lvalue, int count, char format) +void print_basic(const struct dbg_lvalue* lvalue, char format) { if (lvalue->type.id == dbg_itype_none) { diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c index 06b7355..a5700fb 100644 --- a/programs/winedbg/types.c +++ b/programs/winedbg/types.c @@ -457,7 +457,7 @@ void print_value(const struct dbg_lvalue* lvalue, char format, int level) /* FIXME: this in not 100% optimal (as we're going through the typedef handling * stuff again */ - print_basic(lvalue, 1, format); + print_basic(lvalue, format); break; case SymTagUDT: if (types_get_info(&type, TI_GET_CHILDRENCOUNT, &count))