From 61c1a76870b28de39eaed10f353ee2bfd9cfc525 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 5 Apr 1993 11:49:59 +0000 Subject: [PATCH] small fix in ftell --- lang/cem/libcc/stdio/ftell.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lang/cem/libcc/stdio/ftell.c b/lang/cem/libcc/stdio/ftell.c index 98ce95c4..23752181 100644 --- a/lang/cem/libcc/stdio/ftell.c +++ b/lang/cem/libcc/stdio/ftell.c @@ -13,8 +13,6 @@ FILE *iop; adjust -= iop->_count; else if ( io_testflag(iop,IO_WRITEMODE) && iop->_buf && !io_testflag(iop,IO_UNBUFF)) adjust = iop->_ptr - iop->_buf; - else - return(-1); result = lseek(fileno(iop), 0L, 1);