[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
2 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue