diff options
author | Richard Guenther <rguenther@suse.de> | 2012-01-09 14:15:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-01-09 14:15:25 +0000 |
commit | 2c5cbc315fad590eb2a89d46c8397fcb9b9cc2ba (patch) | |
tree | a819be7351cc028f5c022964d1bd072fd7bbfc5d /libcpp | |
parent | 0646822981305e0ffc3f8e0aadc4dfd0bc098330 (diff) | |
download | gcc-2c5cbc315fad590eb2a89d46c8397fcb9b9cc2ba.zip gcc-2c5cbc315fad590eb2a89d46c8397fcb9b9cc2ba.tar.gz gcc-2c5cbc315fad590eb2a89d46c8397fcb9b9cc2ba.tar.bz2 |
macro.c (_cpp_builtin_macro_text): Remove unused variable map.
2012-01-09 Richard Guenther <rguenther@suse.de>
* macro.c (_cpp_builtin_macro_text): Remove unused variable map.
From-SVN: r183013
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 4 | ||||
-rw-r--r-- | libcpp/macro.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 8a1eb05..4fc1ec8 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-09 Richard Guenther <rguenther@suse.de> + + * macro.c (_cpp_builtin_macro_text): Remove unused variable map. + 2012-01-09 Gary Funck <gary@intrepid.com> PR preprocessor/33919 diff --git a/libcpp/macro.c b/libcpp/macro.c index 32f99ca..54de3e3 100644 --- a/libcpp/macro.c +++ b/libcpp/macro.c @@ -217,7 +217,6 @@ static const char * const monthnames[] = const uchar * _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) { - const struct line_map *map; const uchar *result = NULL; linenum_type number = 1; @@ -300,7 +299,6 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) break; case BT_SPECLINE: - map = LINEMAPS_LAST_ORDINARY_MAP (pfile->line_table); /* If __LINE__ is embedded in a macro, it must expand to the line of the macro's invocation, not its definition. Otherwise things like assert() will not work properly. */ |