Commit 55575a9d by Richard Kenner

(read_scan_file): Remove decl of unused variable RPTR.

(write_rbrac): Remove decl of unused variable PARTIAL.
(main): Likewise.

From-SVN: r6882
parent 6e701b09
/* fix-header.c - Make C header file suitable for C++. /* 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 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 under the terms of the GNU General Public License as published by the
...@@ -341,7 +341,6 @@ void ...@@ -341,7 +341,6 @@ void
read_scan_file (scan_file) read_scan_file (scan_file)
FILE *scan_file; FILE *scan_file;
{ {
char **rptr;
obstack_init (&scan_file_obstack); obstack_init (&scan_file_obstack);
scan_decls (scan_file); scan_decls (scan_file);
...@@ -379,7 +378,6 @@ write_rbrac () ...@@ -379,7 +378,6 @@ write_rbrac ()
{ {
struct fn_decl *fn; struct fn_decl *fn;
char **rptr; char **rptr;
register struct partial_proto *partial;
if (required_unseen_count) if (required_unseen_count)
fprintf (outf, "#ifdef __cplusplus\n"); fprintf (outf, "#ifdef __cplusplus\n");
...@@ -815,7 +813,6 @@ main (argc, argv) ...@@ -815,7 +813,6 @@ main (argc, argv)
break; break;
if (isalpha (c) || c == '_') if (isalpha (c) || c == '_')
{ {
struct partial_proto *partial;
c = inf_scan_ident (&buf, c); c = inf_scan_ident (&buf, c);
INF_UNGET (c); INF_UNGET (c);
fputs (buf.base, outf); fputs (buf.base, outf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment