From 25f1b00810427752a10456206dc0c5289f997479 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 6 Apr 2002 18:28:20 +0000 Subject: * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' declaration. Fix -Werror. --- gdb/symtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/symtab.c') diff --git a/gdb/symtab.c b/gdb/symtab.c index 05f777b..3a42867 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -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) { -- cgit v1.1