Reacted on compiler warnings about rev 4535

1.2.0
Thomas Schmitt 11 years ago
parent c1bd3ced61
commit 792a5896e7
  1. 4
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

@ -1628,13 +1628,13 @@ int Cdrtrack_fill_fifo(struct CdrtracK *track, int fifo_start_at, int flag)
int Cdrtrack_set_indice(struct CdrtracK *track, int flag)
{
int idx= 1, adr, prev_adr, ret;
int idx= 1, adr, prev_adr= -1, ret;
char *cpt, *ept;
if(track->index_string == NULL)
return(2);
for(cpt= track->index_string; ept != NULL; cpt= ept + 1) {
for(ept= cpt= track->index_string; ept != NULL; cpt= ept + 1) {
ept= strchr(cpt, ',');
if(ept != NULL)
*ept= 0;

@ -1 +1 @@
#define Cdrskin_timestamP "2012.01.05.115516"
#define Cdrskin_timestamP "2012.01.05.120246"

Loading…
Cancel
Save