summaryrefslogtreecommitdiff
path: root/libcpp/macro.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 14:15:25 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 14:15:25 +0000
commitd6fb657696759c6af7d1055a8f6c06aa0b31d3f1 (patch)
treea819be7351cc028f5c022964d1bd072fd7bbfc5d /libcpp/macro.c
parentf60935339c109e9fa6b92d898e3a4e2797cc81e7 (diff)
downloadgcc-d6fb657696759c6af7d1055a8f6c06aa0b31d3f1.tar.gz
2012-01-09 Richard Guenther <rguenther@suse.de>
* macro.c (_cpp_builtin_macro_text): Remove unused variable map. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183013 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/macro.c')
-rw-r--r--libcpp/macro.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcpp/macro.c b/libcpp/macro.c
index 32f99ca030a..54de3e3fc0d 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. */