aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-general.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2013-01-31 16:27:50 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2013-01-31 16:27:50 +0000
commit0e43993ae8c905d679db8a48b8d2448b54b4f326 (patch)
treee56d1e4accb9206fc697fed11a9d378ca28f1707 /gdb/ax-general.c
parentc495790256d052740423f03f837bb6e9ae1fa27a (diff)
downloadgdb-0e43993ae8c905d679db8a48b8d2448b54b4f326.zip
gdb-0e43993ae8c905d679db8a48b8d2448b54b4f326.tar.gz
gdb-0e43993ae8c905d679db8a48b8d2448b54b4f326.tar.bz2
2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
* auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. * ax-general.c (ax_print): Remove unused is_float. * blockframe.c (block_innermost_frame): Remove unused start, end. * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00752.html
Diffstat (limited to 'gdb/ax-general.c')
-rw-r--r--gdb/ax-general.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index bf70824..32a47a7 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -375,7 +375,6 @@ void
ax_print (struct ui_file *f, struct agent_expr *x)
{
int i;
- int is_float = 0;
fprintf_filtered (f, _("Scope: %s\n"), paddress (x->gdbarch, x->scope));
fprintf_filtered (f, _("Reg mask:"));
@@ -430,8 +429,6 @@ ax_print (struct ui_file *f, struct agent_expr *x)
}
fprintf_filtered (f, "\n");
i += 1 + aop_map[op].op_size;
-
- is_float = (op == aop_float);
}
}