* dwarf2read.c (typename_concat): Add const to the variable sep.
This commit is contained in:
Jan Kratochvil 2010-06-02 20:03:42 +00:00
parent a8d52276ee
commit 5c315b6890
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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 = "";