diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 86222aa942c5..0024ef9499bb 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2004-10-08 Andrew Pinski + + * 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 * directives.c (cpp_handle_deferred_pragma): Save, clear and restore diff --git a/libcpp/pch.c b/libcpp/pch.c index a343cd857f01..292132139d23 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