2007-08-06 Michael Snyder <msnyder@access-company.com>

* ada-lang.c (desc_bounds): Comparison of function address to NULL.
This commit is contained in:
Michael Snyder 2007-08-06 20:07:44 +00:00
parent bd97cb95f8
commit 4cdfadb1f8
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-08-06 Michael Snyder <msnyder@access-company.com>
* ada-lang.c (desc_bounds): Comparison of function address to NULL.
2007-08-05 Jim Blandy <jimb@codesourcery.com>
* macroexp.c (init_buffer): Remove testing code that overrides the

View File

@ -1322,7 +1322,7 @@ desc_bounds (struct value *arr)
desc_bounds_type (thin_descriptor_type (type));
LONGEST addr;
if (desc_bounds_type == NULL)
if (bounds_type == NULL)
error (_("Bad GNAT array descriptor"));
/* NOTE: The following calculation is not really kosher, but