From 308d96edc1e82c7bb9440d20b868ee9dd93959ea Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 6 May 2010 19:41:12 +0000 Subject: 2010-05-06 Michael Snyder * macrocmd.c (_initialize_macrocmd): Delete unused variable. * macroexp.c (gather_arguments): Delete unused variable. (substitute_args): Delete unused variable. * completer.c (gdb_completer_loc_break_characters): Unused, delete. * gdbarch.sh (gdbarch_printable_names): Delete unused variable. (_initialize_gdbarch): Delete unused variable. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (initialize_current_architecture): Delete unused variable. (_initialize_gdbarch_utils): Delete unused variable. * gdbtypes.c (make_cv_type): Delete unused variable. (make_type_with_address_space): Delete unused variable. --- gdb/macroexp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/macroexp.c') diff --git a/gdb/macroexp.c b/gdb/macroexp.c index 050fbbf..0bd65f6 100644 --- a/gdb/macroexp.c +++ b/gdb/macroexp.c @@ -805,8 +805,6 @@ gather_arguments (const char *name, struct macro_buffer *src, depth = 0; for (;;) { - char *start = src->text; - if (! get_token (&tok, src)) error (_("Malformed argument list for macro `%s'."), name); @@ -1004,7 +1002,7 @@ substitute_args (struct macro_buffer *dest, && lookahead.text[0] == '#' && lookahead.text[1] == '#') { - int arg, finished = 0; + int finished = 0; int prev_was_comma = 0; /* Note that GCC warns if the result of splicing is not a -- cgit v1.1