* findvar.c (read_var_value): Remove unused variable.

This commit is contained in:
Daniel Jacobowitz 2008-07-15 17:53:11 +00:00
parent 8c90c1370d
commit ab8650a327
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-07-15 Daniel Jacobowitz <dan@codesourcery.com>
* findvar.c (read_var_value): Remove unused variable.
2008-07-15 Luis Machado <luisgpm@br.ibm.com>
* infrun.c (handle_inferior_event): Tag threads as stopped

View File

@ -494,13 +494,11 @@ read_var_value (struct symbol *var, struct frame_info *frame)
case LOC_REGISTER:
case LOC_REGPARM_ADDR:
{
struct block *b;
int regno = SYMBOL_VALUE (var);
struct value *regval;
if (frame == NULL)
return 0;
b = get_frame_block (frame, 0);
if (SYMBOL_CLASS (var) == LOC_REGPARM_ADDR)
{