aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-10-08 12:50:12 +0000
committerAndrew Pinski <pinskia@physics.uc.edu>2004-10-08 12:50:12 +0000
commit5bd62aac07cb1309ffceca97340442ddaf31b26e (patch)
tree12989775753407a64c8b4f4d6228ab5ce0ce9c9d /libcpp
parenteaa96af5ff4874bccb5835ca05cdcb27cf570f4a (diff)
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* pch.c (cpp_write_pch_state): Remove variable z as it is not used. (cpp_read_state): Remove unused variables, m, d and mac_count. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libcpp/pch.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 86222aa942c..0024ef9499b 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * pch.c (cpp_write_pch_state): Remove variable z as it is not
+ used.
+ (cpp_read_state): Remove unused variables, m, d and mac_count.
+
2004-09-29 Per Bothner <per@bothner.com>
* directives.c (cpp_handle_deferred_pragma): Save, clear and restore
diff --git a/libcpp/pch.c b/libcpp/pch.c
index a343cd857f0..292132139d2 100644
--- a/libcpp/pch.c
+++ b/libcpp/pch.c
@@ -345,8 +345,6 @@ cpp_write_pch_deps (cpp_reader *r, FILE *f)
int
cpp_write_pch_state (cpp_reader *r, FILE *f)
{
- struct macrodef_struct z;
-
if (!r->deps)
r->deps = deps_init ();
@@ -630,9 +628,7 @@ int
cpp_read_state (cpp_reader *r, const char *name, FILE *f,
struct save_macro_data *data)
{
- struct macrodef_struct m;
- struct save_macro_item *d;
- size_t i, mac_count;
+ size_t i;
struct lexer_state old_state;
/* Restore spec_nodes, which will be full of references to the old