From 2916c0850865be78d9886d6a5ec13331d5e65bbf Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 7 Nov 2001 22:52:30 +0000 Subject: 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 --- gcc/c-decl.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gcc/c-decl.c') 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. */ -- cgit v1.2.1