remove unneeded cast in symtab.c
This removes an unneeded const cast from symtab.c:add_macro_name. 2014-06-18 Tom Tromey <tromey@redhat.com> * symtab.c (add_macro_name): Remove unneeded cast.
This commit is contained in:
parent
5bc98e5269
commit
ac1a991b1c
|
@ -1,3 +1,7 @@
|
|||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* symtab.c (add_macro_name): Remove unneeded cast.
|
||||
|
||||
2014-06-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* cli/cli-setshow.h (parse_cli_boolean_value): Update.
|
||||
|
|
|
@ -4284,7 +4284,7 @@ add_macro_name (const char *name, const struct macro_definition *ignore,
|
|||
{
|
||||
struct add_name_data *datum = (struct add_name_data *) user_data;
|
||||
|
||||
completion_list_add_name ((char *) name,
|
||||
completion_list_add_name (name,
|
||||
datum->sym_text, datum->sym_text_len,
|
||||
datum->text, datum->word);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue