winedbg: Removed unneeded variable from print_basic.

This commit is contained in:
Eric Pouech 2008-05-23 20:04:55 +02:00 committed by Alexandre Julliard
parent ac2053ba10
commit 98e2486820
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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)
{

View File

@ -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))