diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2003-06-17 21:20:41 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2003-06-17 21:20:41 +0000 |
commit | 07d8f8274540ab07a6aa63f719f7d4d23777de5a (patch) | |
tree | fbeb25c7ff1d8ed6c925c9b45fd4c02f6c916655 /gdb/ada-lang.c | |
parent | 7cb47b14e952223cd7ada1c0457c36e1a3a9217e (diff) | |
download | gdb-07d8f8274540ab07a6aa63f719f7d4d23777de5a.zip gdb-07d8f8274540ab07a6aa63f719f7d4d23777de5a.tar.gz gdb-07d8f8274540ab07a6aa63f719f7d4d23777de5a.tar.bz2 |
* ada-lang.c (scan_discrim_bound): Name first argument.
(ada_add_block_symbols): Remove BLOCK_SYM to use local variable
declared by ALL_BLOCK_SYMBOLS.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index eaa5281..26780e3 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -4038,8 +4038,6 @@ ada_add_block_symbols (struct block *block, const char *name, ALL_BLOCK_SYMBOLS (block, iter, sym) { - struct symbol *sym = BLOCK_SYM (block, i); - if (SYMBOL_DOMAIN (sym) == domain) { int cmp; @@ -7710,7 +7708,7 @@ ada_vax_float_print_function (struct type *type) not alter *PX and *PNEW_K if unsuccessful. */ static int -scan_discrim_bound (char *, int k, struct value *dval, LONGEST * px, +scan_discrim_bound (char *str, int k, struct value *dval, LONGEST * px, int *pnew_k) { static char *bound_buffer = NULL; |