From 0e43993ae8c905d679db8a48b8d2448b54b4f326 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Thu, 31 Jan 2013 16:27:50 +0000 Subject: 2013-01-31 Aleksandar Ristovski * 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 --- gdb/ax-gdb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/ax-gdb.c') diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index f0e33cb..2029882 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -2562,13 +2562,11 @@ gen_printf (CORE_ADDR scope, struct gdbarch *gdbarch, struct format_piece *frags, int nargs, struct expression **exprs) { - struct expression *expr; struct cleanup *old_chain = 0; struct agent_expr *ax = new_agent_expr (gdbarch, scope); union exp_element *pc; struct axs_value value; - int i, tem, bot, fr, flen; - char *fmt; + int tem; old_chain = make_cleanup_free_agent_expr (ax); -- cgit v1.1