Browse Source

clear gcc warning

richarddobson 3 months ago
parent
commit
8927cf215f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/texture/texture3.c

+ 1 - 1
dev/texture/texture3.c

@@ -172,7 +172,7 @@ int do_simple_hftexture(dataptr dz)
     int hsindex;
     noteptr tsetnote = tset->firstnote;
     noteptr nextnote;
-    double thistime, thispitch /* , lastpitch = -1.0 */ ;
+    double thistime, thispitch = -1.0 /* , lastpitch = -1.0 */ ;
     noteptr thishfnote = hfmotif->firstnote;
     noteptr thishsnote = hfmotif->firstnote;
     double thishftime,nexthftime,thishstime,nexthstime,thisamp,thisdur;