浏览代码

remove warning

richarddobson 2 年之前
父节点
当前提交
aa48f430f4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dev/standnew/distmore.c

+ 2 - 2
dev/standnew/distmore.c

@@ -1970,13 +1970,13 @@ int segsbkwd(dataptr dz)
     int exit_status, n, m, forwards, reversals;
     int exit_status, n, m, forwards, reversals;
     double srate = (double)dz->infile->srate;
     double srate = (double)dz->infile->srate;
     double *time = dz->parray[0];
     double *time = dz->parray[0];
-    int samptime;
+//    int samptime;
     float *ibuf = dz->sampbuf[0], *obuf = dz->sampbuf[1], *buf1, *buf2, *bufa = dz->sampbuf[2], *bufb = dz->sampbuf[3], *tempbuf;
     float *ibuf = dz->sampbuf[0], *obuf = dz->sampbuf[1], *buf1, *buf2, *bufa = dz->sampbuf[2], *bufb = dz->sampbuf[3], *tempbuf;
     int modd;
     int modd;
     int k, j, z, obufpos, stt, sttsamp, endsamp, sampcnt1, sampcnt2;
     int k, j, z, obufpos, stt, sttsamp, endsamp, sampcnt1, sampcnt2;
     int *sttend = dz->lparray[0];
     int *sttend = dz->lparray[0];
     int splicelen = (int)round(SSPLICELEN * MS_TO_SECS * srate);
     int splicelen = (int)round(SSPLICELEN * MS_TO_SECS * srate);
-    samptime = 0;
+//    samptime = 0;
     time[0] = 0.0;                                          //  Stretch initial time to start of file   
     time[0] = 0.0;                                          //  Stretch initial time to start of file   
     time[dz->itemcnt] = dz->duration;                       //  Complete times array with the duration of the src
     time[dz->itemcnt] = dz->duration;                       //  Complete times array with the duration of the src