richarddobson 2 жил өмнө
parent
commit
bd87629790

+ 2 - 2
dev/texture/main.c

@@ -57,7 +57,7 @@ int main(int argc,char *argv[])
 /*  char *special_data_string = NULL;*/
     char **cmdline;
     int  cmdlinecnt;
-    aplptr ap;
+//   aplptr ap;
     int *valid = NULL;
     int is_launched = FALSE;
     int  validcnt;
@@ -119,7 +119,7 @@ int main(int argc,char *argv[])
         }
     }
 
-    ap = dz->application;
+//    ap = dz->application;
 
 /*********************************************************************************************************************
        cmdline[0]                         2 vals                              ACTIVE         

+ 3 - 3
dev/texture/texprepro.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1983-2013 Trevor Wishart and Composers Desktop Project Ltd
+ * Copyright (c) 1983-2023 Trevor Wishart and Composers Desktop Project Ltd
  * http://www.trevorwishart.co.uk
  * http://www.composersdesktop.com
  *
@@ -1107,7 +1107,7 @@ int read_a_note_from_notedata_file(noteptr thisnote,int noteno,int motifno,doubl
     unsigned int texflag = dz->tex->txflag;
     char temp[200], *p, *q;
     double val;
-    int instr_no, start;
+    int /*instr_no,*/ start;
     if(dz->fp==NULL) {
         sprintf(errstr,"Note datafile descriptor not initialised: read_a_note_from_notedata_file()\n");
         return(PROGRAM_ERROR);
@@ -1147,7 +1147,7 @@ int read_a_note_from_notedata_file(noteptr thisnote,int noteno,int motifno,doubl
         sprintf(errstr,"No data after instr_no for note %d, motif %d in notedatafile\n",noteno,motifno); 
         return(DATA_ERROR);
     }
-    instr_no = round(val);
+//    instr_no = round(val);
 
     p++;
     q = p;