aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-03-25 14:08:19 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-03-25 14:08:19 -0500
commit55575a9d2ba77ce6836ddf4f8d82e4f0f3083bf1 (patch)
treea506305b1628861c4516581e71b67e008872d274 /gcc/fix-header.c
parent6e701b09fca774e054ce927220bbf5fa24894f82 (diff)
downloadgcc-55575a9d2ba77ce6836ddf4f8d82e4f0f3083bf1.zip
gcc-55575a9d2ba77ce6836ddf4f8d82e4f0f3083bf1.tar.gz
gcc-55575a9d2ba77ce6836ddf4f8d82e4f0f3083bf1.tar.bz2
(read_scan_file): Remove decl of unused variable RPTR.
(write_rbrac): Remove decl of unused variable PARTIAL. (main): Likewise. From-SVN: r6882
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 59754a2..81b46cf 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -1,5 +1,5 @@
/* fix-header.c - Make C header file suitable for C++.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -341,7 +341,6 @@ void
read_scan_file (scan_file)
FILE *scan_file;
{
- char **rptr;
obstack_init (&scan_file_obstack);
scan_decls (scan_file);
@@ -379,7 +378,6 @@ write_rbrac ()
{
struct fn_decl *fn;
char **rptr;
- register struct partial_proto *partial;
if (required_unseen_count)
fprintf (outf, "#ifdef __cplusplus\n");
@@ -815,7 +813,6 @@ main (argc, argv)
break;
if (isalpha (c) || c == '_')
{
- struct partial_proto *partial;
c = inf_scan_ident (&buf, c);
INF_UNGET (c);
fputs (buf.base, outf);