From f6b056d7447686ec8d18d3a251e447cc227c0192 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 19 Sep 2000 17:28:46 +0000 Subject: * cppfiles.c (read_include_file): Take no special action for zero-length files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36539 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cppfiles.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/cppfiles.c') diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index ffb46d26b1f..697ea1b56f5 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -331,12 +331,6 @@ read_include_file (pfile, inc) if (count < 0) goto perror_fail; - if (offset == 0) - { - free (buf); - return 0; - } - if (offset < size) buf = xrealloc (buf, offset); inc->st.st_size = offset; -- cgit v1.2.3