From 8c66b843054e326585cc6d1a75b382b6b285e510 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 98ce95c44..237521812 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); -- 2.34.1