diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-08 12:50:12 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-10-08 05:50:12 -0700 |
commit | 646544e3108686bc0dade228a4a77dbb6a602f54 (patch) | |
tree | 12989775753407a64c8b4f4d6228ab5ce0ce9c9d /libcpp | |
parent | 07ea92d369f23465125a18d989382683b3a4e730 (diff) | |
download | gcc-646544e3108686bc0dade228a4a77dbb6a602f54.zip gcc-646544e3108686bc0dade228a4a77dbb6a602f54.tar.gz gcc-646544e3108686bc0dade228a4a77dbb6a602f54.tar.bz2 |
pch.c (cpp_write_pch_state): Remove variable z as it is not used.
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.
From-SVN: r88748
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 6 | ||||
-rw-r--r-- | libcpp/pch.c | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 86222aa..0024ef9 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 a343cd8..2921321 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 |