mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 09:49:43 +08:00
Use "false" in compile_cplus_convert_enum
This changes compile_cplus_convert_enum to use "false". Note that this variable is never modified, which seems like an error. I filed PR compile/24473 for this. gdb/ChangeLog 2019-05-04 Tom Tromey <tom@tromey.com> * compile/compile-cplus-types.c (compile_cplus_convert_enum): Use "false".
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2019-05-04 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* compile/compile-cplus-types.c (compile_cplus_convert_enum): Use
|
||||||
|
"false".
|
||||||
|
|
||||||
2019-05-04 Tom Tromey <tom@tromey.com>
|
2019-05-04 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* arc-tdep.c (arc_tdesc_init): Use bool.
|
* arc-tdep.c (arc_tdesc_init): Use bool.
|
||||||
|
@ -910,7 +910,7 @@ static gcc_type
|
|||||||
compile_cplus_convert_enum (compile_cplus_instance *instance, struct type *type,
|
compile_cplus_convert_enum (compile_cplus_instance *instance, struct type *type,
|
||||||
enum gcc_cp_symbol_kind nested_access)
|
enum gcc_cp_symbol_kind nested_access)
|
||||||
{
|
{
|
||||||
int scoped_enum_p = FALSE;
|
bool scoped_enum_p = false;
|
||||||
|
|
||||||
/* Create a new scope for this type. */
|
/* Create a new scope for this type. */
|
||||||
compile_scope scope = instance->new_scope (TYPE_NAME (type), type);
|
compile_scope scope = instance->new_scope (TYPE_NAME (type), type);
|
||||||
|
Reference in New Issue
Block a user