From 98e248682055778646e06f2c29d33c60e4d35291 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Fri, 23 May 2008 20:04:55 +0200 Subject: [PATCH] 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 f95c3d17df9..d11e291ca76 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 50fe3dfb6b6..70ca4caa6ba 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 06b7355da76..a5700fb4fef 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)) -- 2.11.4.GIT