diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-07-15 17:53:11 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-07-15 17:53:11 +0000 |
commit | ab8650a3279c2abf8586ee2dba8b092a895a566d (patch) | |
tree | 8ad9ba21940fd11c2a85ee4214e17f5573d8332b /gdb/findvar.c | |
parent | 8c90c1370d95c5a3e70010dce217f163faea4a4b (diff) | |
download | gdb-ab8650a3279c2abf8586ee2dba8b092a895a566d.zip gdb-ab8650a3279c2abf8586ee2dba8b092a895a566d.tar.gz gdb-ab8650a3279c2abf8586ee2dba8b092a895a566d.tar.bz2 |
* findvar.c (read_var_value): Remove unused variable.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index efe5af8..1b11e59 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -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) { |