mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 17:51:57 +00:00
* gdb/ada-lang.c (standard_lookup): Prevent uninitialized variable
warning.
This commit is contained in:
parent
f715a0fb03
commit
acbd605ddd
@ -1,3 +1,8 @@
|
||||
2012-05-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
||||
|
||||
* ada-lang.c (standard_lookup): Prevent uninitialized variable
|
||||
warning.
|
||||
|
||||
2012-05-30 Jeff Kenton <jkenton@tilera.com>
|
||||
|
||||
* configure.host (gdb_host_cpu): Handle tilegx*.
|
||||
|
@ -4256,7 +4256,8 @@ static struct symbol *
|
||||
standard_lookup (const char *name, const struct block *block,
|
||||
domain_enum domain)
|
||||
{
|
||||
struct symbol *sym;
|
||||
/* Initialize it just to avoid a GCC false warning. */
|
||||
struct symbol *sym = NULL;
|
||||
|
||||
if (lookup_cached_symbol (name, domain, &sym, NULL))
|
||||
return sym;
|
||||
|
Loading…
Reference in New Issue
Block a user