aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2002-08-11 18:30:25 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2002-08-11 18:30:25 +0000
commit81552289de0caae90e22c134cb9fca0e1e77db59 (patch)
tree85fa59ac82b177a1a61fd74e4bb3500fa1d06281 /gcc/cp/repo.c
parentaef76cdf4d68fc5d4fa2dff6dc2609a26dda568e (diff)
* decl2.c (build_call_from_tree): Fix uninitialized variable.
* parse.y (parse_finish_call_expr): Likewise. * repo.c (old_args, old_dir, old_main): Const-ify. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@56208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index e27d8c2199e..64c6ec873fc 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -47,7 +47,7 @@ static GTY(()) tree original_repo;
static char *repo_name;
static FILE *repo_file;
-static char *old_args, *old_dir, *old_main;
+static const char *old_args, *old_dir, *old_main;
static struct obstack temporary_obstack;