diff options
author | Tom Tromey <tromey@redhat.com> | 2013-03-28 11:09:08 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-06-18 08:16:57 -0600 |
commit | ac1a991b1c00891d29607a6f97d98d66312af83f (patch) | |
tree | cad007f73396d934f93de088ed3eaf35d19ae388 /gdb/symtab.c | |
parent | 5bc98e5269423c49d5543079c824f551db4028f0 (diff) | |
download | gdb-ac1a991b1c00891d29607a6f97d98d66312af83f.zip gdb-ac1a991b1c00891d29607a6f97d98d66312af83f.tar.gz gdb-ac1a991b1c00891d29607a6f97d98d66312af83f.tar.bz2 |
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.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 2453f2d..3c9e0dd 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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); } |