Remove some cppcheck style warnings
This commit is contained in:
@@ -176,7 +176,6 @@ data_bigendianp(cdrom_drive_t *d)
|
||||
|
||||
cdmessage(d,"\n\tCannot determine CDROM drive endianness.\n");
|
||||
return(bigendianp());
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -266,7 +266,7 @@ static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1,
|
||||
static void drftf1(int n,float *c,float *ch,float *wa,int *ifac){
|
||||
int i,k1,l1,l2;
|
||||
int na,kh,nf;
|
||||
int ip,iw,ido,idl1,ix2,ix3;
|
||||
int ip,iw,ido,ix2,ix3;
|
||||
|
||||
nf=ifac[1];
|
||||
na=1;
|
||||
@@ -278,7 +278,6 @@ static void drftf1(int n,float *c,float *ch,float *wa,int *ifac){
|
||||
ip=ifac[kh+1];
|
||||
l1=l2/ip;
|
||||
ido=n/l2;
|
||||
idl1=ido*l1;
|
||||
iw-=(ip-1)*ido;
|
||||
na=1-na;
|
||||
|
||||
@@ -466,7 +465,7 @@ static void dradb4(int ido,int l1,float *cc,float *ch,float *wa1,
|
||||
static void drftb1(int n, float *c, float *ch, float *wa, int *ifac){
|
||||
int i,k1,l1,l2;
|
||||
int na;
|
||||
int nf,ip,iw,ix2,ix3,ido,idl1;
|
||||
int nf,ip,iw,ix2,ix3,ido;
|
||||
|
||||
nf=ifac[1];
|
||||
na=0;
|
||||
@@ -477,7 +476,6 @@ static void drftb1(int n, float *c, float *ch, float *wa, int *ifac){
|
||||
ip=ifac[k1 + 2];
|
||||
l2=ip*l1;
|
||||
ido=n/l2;
|
||||
idl1=ido*l1;
|
||||
if(ip!=4)goto L103;
|
||||
ix2=iw+ido;
|
||||
ix3=ix2+ido;
|
||||
|
||||
@@ -81,10 +81,10 @@ test_read(cdrom_drive *d, void *p, long begin, long sectors)
|
||||
#if defined(CDDA_TEST_SEEKJITTER) \
|
||||
|| defined(CDDA_TEST_ALLJITTER) \
|
||||
|| defined(CDDA_TEST_SOMEJITTER)
|
||||
int jitter_flag=0;
|
||||
int jitter_flag;
|
||||
#endif
|
||||
|
||||
int los_flag=0;
|
||||
int los_flag;
|
||||
static int jitter=0;
|
||||
int bytes_so_far=0;
|
||||
long bytestotal;
|
||||
@@ -172,7 +172,6 @@ test_read(cdrom_drive *d, void *p, long begin, long sectors)
|
||||
#endif
|
||||
|
||||
|
||||
if(this_bytes>inner_bytes)this_bytes=inner_bytes;
|
||||
if(begin+jitter+bytes_so_far<0)jitter=0;
|
||||
seeki=begin+bytes_so_far+jitter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user