Reacted on warning of cppcheck about cdrskin/cdrfifo.c
This commit is contained in:
parent
653586b97e
commit
a734e868bd
@ -1039,9 +1039,9 @@ int Test_mixed_bs(char **paths, int path_count,
|
|||||||
bit0= debugging verbousity
|
bit0= debugging verbousity
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
int fd_in[100],fd_out[100],ret,pipe_fds[100][2],real_out[100];
|
int fd_in[100],fd_out[100],ret,pipe_fds[100][2];
|
||||||
int i,iv,stall_counter= 0,cycle_counter= 0.0;
|
int i,iv,stall_counter= 0,cycle_counter= 0.0;
|
||||||
char buf[10240], target_path[80];
|
char target_path[80];
|
||||||
double in_counter, out_counter, prev_in= -1.0, prev_out= -1.0;
|
double in_counter, out_counter, prev_in= -1.0, prev_out= -1.0;
|
||||||
struct CdrfifO *ff_in= NULL, *ff_out= NULL;
|
struct CdrfifO *ff_in= NULL, *ff_out= NULL;
|
||||||
|
|
||||||
@ -1109,9 +1109,8 @@ int Test_multi(int fs_size, double speed_limit, double interval, int flag)
|
|||||||
bit0= debugging verbousity
|
bit0= debugging verbousity
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
int fd_in[4],fd_out[4],ret,pipe_fds[4][2],real_out[4],pipe_idx;
|
int fd_in[4],fd_out[4],ret,pipe_fds[4][2];
|
||||||
int i,iv;
|
int i,iv;
|
||||||
char buf[10240];
|
|
||||||
struct CdrfifO *ff1= NULL,*ff2= NULL;
|
struct CdrfifO *ff1= NULL,*ff2= NULL;
|
||||||
|
|
||||||
/* open four pairs of fds */
|
/* open four pairs of fds */
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.07.11.143934"
|
#define Cdrskin_timestamP "2011.07.12.095936"
|
||||||
|
Loading…
Reference in New Issue
Block a user