aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index a8a974c..0440bba 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -2093,8 +2093,6 @@ pushdecl (x)
if (name)
{
- const char *file;
- int line;
int different_binding_level = 0;
if (warn_nested_externs
@@ -2126,12 +2124,6 @@ pushdecl (x)
error_with_decl (x, "`%s' used prior to declaration");
}
- if (t != 0)
- {
- file = DECL_SOURCE_FILE (t);
- line = DECL_SOURCE_LINE (t);
- }
-
/* If this decl is `static' and an implicit decl was seen previously,
warn. But don't complain if -traditional,
since traditional compilers don't complain. */