mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 18:36:32 +00:00
[obv] Fix broken build on Fedora 23.
Compiler complains about possible utilization of "symbol" which is member of lang_def. Initialization was added. 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com> gdb/ChangeLog: * cp-namespace.c (cp_lookup_bare_symbol): Initialize lang_this.symbol.
This commit is contained in:
parent
4f19a0e6b4
commit
41c977aa5c
@ -1,3 +1,8 @@
|
||||
2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||||
|
||||
* cp-namespace.c (cp_lookup_bare_symbol): Initialize
|
||||
lang_this.symbol.
|
||||
|
||||
2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
|
||||
|
||||
* cp-namespace.c (cp_lookup_bare_symbol): Use language passed as
|
||||
|
@ -206,6 +206,8 @@ cp_lookup_bare_symbol (const struct language_defn *langdef,
|
||||
struct block_symbol lang_this;
|
||||
struct type *type;
|
||||
|
||||
lang_this.symbol = NULL;
|
||||
|
||||
if (langdef != NULL)
|
||||
lang_this = lookup_language_this (langdef, block);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user