From: Shamus Hammons Date: Tue, 1 Jun 2004 19:19:26 +0000 (+0000) Subject: Minor cleanup (this file will go away soon) X-Git-Tag: 1.0.7~24 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e923b820a95d2f9b038cb2895c3d2174b6e7b393;p=virtualjaguar Minor cleanup (this file will go away soon) --- diff --git a/src/cdi.cpp b/src/cdi.cpp index 0e737dc..34a65d8 100644 --- a/src/cdi.cpp +++ b/src/cdi.cpp @@ -46,12 +46,6 @@ void cdi_close(int fp) } -/*long tell(int fd) -{ - return lseek(fd, 0LL, SEEK_CUR); -}*/ - - s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp) { s_cdi_descriptor * descriptor; @@ -66,7 +60,6 @@ s_cdi_descriptor * cdi_get_descriptor(int fp, FILE * stdfp) return 0; lseek(fp, 0, SEEK_END); -//Why??? descriptor->length=tell(fp); descriptor->length = lseek(fp, 0LL, SEEK_CUR); if (descriptor->length < 8)