summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-11-07 22:52:30 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-11-07 22:52:30 +0000
commit2916c0850865be78d9886d6a5ec13331d5e65bbf (patch)
treeac70fd378763e1512e643e017a4628647c49ce42 /gcc/c-decl.c
parent216caa2b7f64c19cd9d5af5d903ecf71dcf9ec34 (diff)
downloadgcc-2916c0850865be78d9886d6a5ec13331d5e65bbf.tar.gz
c-decl.c (pushdecl): Remove file and line.
* c-decl.c (pushdecl): Remove file and line. * c-typeck.c (pop_init_level): Remove size. From-SVN: r46838
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 a8a974c81e9..0440bba5657 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. */