diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 86222aa942c58c6d9fbe480ed54517142f6123a8..0024ef9499bbe8a7238aa9ac187a9de7db1137ab 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 a343cd857f01ddff22ed1512bfe8182a0493a051..292132139d2386957fb8389a3c61b61b2f6b186d 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