changeset 23863:78f77927050c

Remove completely pointless extra return statements
author reimar
date Fri, 27 Jul 2007 19:25:51 +0000
parents a20ea1dd0812
children 889473a51715
files stream/vcd_read_darwin.h
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/stream/vcd_read_darwin.h	Fri Jul 27 18:51:07 2007 +0000
+++ b/stream/vcd_read_darwin.h	Fri Jul 27 19:25:51 2007 +0000
@@ -39,8 +39,6 @@
   return vcd->msf.frame +
         (vcd->msf.second+
          vcd->msf.minute*60)*75;
-
-return 0;
 }
 
 int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track)
@@ -59,8 +57,6 @@
 		return -1;
 	}
 	return VCD_SECTOR_DATA*vcd_get_msf(vcd);
-  
-return -1;
 }
 
 int vcd_get_track_end(mp_vcd_priv_t* vcd, int track)
@@ -94,8 +90,6 @@
 		return -1;
 	}
 	return VCD_SECTOR_DATA*vcd_get_msf(vcd);
-
-return -1;
 }
 
 mp_vcd_priv_t* vcd_read_toc(int fd)
@@ -181,8 +175,6 @@
 	vcd->fd = fd;
 	vcd->msf = trackMSF;
 	return vcd;
-
-	return NULL;
 }
 
 static int vcd_read(mp_vcd_priv_t* vcd,char *mem)
@@ -205,6 +197,5 @@
 	  
       memcpy(mem,vcd->buf.data,VCD_SECTOR_DATA);
       return VCD_SECTOR_DATA;
-return 0;
 }