[xiph-commits] r15300 - trunk/cdparanoia

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Sep 11 13:50:50 PDT 2008


Author: xiphmont
Date: 2008-09-11 13:50:50 -0700 (Thu, 11 Sep 2008)
New Revision: 15300

Modified:
   trunk/cdparanoia/cachetest.c
Log:
One more minor cachetest fix found in final regression: breaking out
of last possible loop would clobber correct value (1) post-loop with
incorrect val (0)



Modified: trunk/cdparanoia/cachetest.c
===================================================================
--- trunk/cdparanoia/cachetest.c	2008-09-11 20:33:30 UTC (rev 15299)
+++ trunk/cdparanoia/cachetest.c	2008-09-11 20:50:50 UTC (rev 15300)
@@ -594,8 +594,8 @@
 	  }
 	  break;
 	}
+	if(sofar==0)rollbehind=0;
       }
-      if(sofar==0)rollbehind=0;
 
     error:
       if(ret<=0){
@@ -672,8 +672,8 @@
 	  }
 	  break;
 	}
+	if(sofar==0)cachegran=0;
       }
-      if(sofar==0)cachegran=0;
 
     error2:
       if(ret<=0){



More information about the commits mailing list