]> Shamusworld >> Repos - virtualjaguar/commitdiff
Minor cleanup (this file will go away soon)
authorShamus Hammons <jlhamm@acm.org>
Tue, 1 Jun 2004 19:19:26 +0000 (19:19 +0000)
committerShamus Hammons <jlhamm@acm.org>
Tue, 1 Jun 2004 19:19:26 +0000 (19:19 +0000)
src/cdi.cpp

index 0e737dccb466a75c1c32cd705245ac71b7b4532f..34a65d88de17b86b2603531dad68a278e772fbaf 100644 (file)
@@ -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)