forked from Imagelibrary/binutils-gdb
* symtab.c (lookup_symtab): Remove `const'' from `rp''
declaration. Fix -Werror.
This commit is contained in:
@@ -181,7 +181,7 @@ got_symtab:
|
||||
|
||||
if (real_path != NULL)
|
||||
{
|
||||
const char *rp = gdb_realpath (symtab_to_filename (s));
|
||||
char *rp = gdb_realpath (symtab_to_filename (s));
|
||||
make_cleanup (xfree, rp);
|
||||
if (FILENAME_CMP (real_path, rp) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user