gdb/
* dwarf2read.c (typename_concat): Add const to the variable sep.
This commit is contained in:
parent
a8d52276ee
commit
5c315b6890
|
@ -1,3 +1,7 @@
|
|||
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* dwarf2read.c (typename_concat): Add const to the variable sep.
|
||||
|
||||
2010-06-02 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf2loc.h (dwarf2_per_cu_data): Declare.
|
||||
|
|
|
@ -9236,7 +9236,7 @@ static char *
|
|||
typename_concat (struct obstack *obs, const char *prefix, const char *suffix,
|
||||
struct dwarf2_cu *cu)
|
||||
{
|
||||
char *sep;
|
||||
const char *sep;
|
||||
|
||||
if (suffix == NULL || suffix[0] == '\0' || prefix == NULL || prefix[0] == '\0')
|
||||
sep = "";
|
||||
|
|
Loading…
Reference in New Issue