Commit:6666cce6159b438418bb744daabe8f450f756938 (browse)
Parent:96270757ecc40d555aa27236c970dda9b4ec1975
Author:Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:Tue May 25 08:07:20 CES 2021
Message:
tangled: fix warnings

tangled/bigverb.c => tangled/bigverb.c
@@ -73,7 +73,6 @@
 SKFLT *buf;
 
 total_size = 0;
-buf = NULL;
 #line 449 "bigverb.org"
 for (i = 0; i < 8; i++) {
     total_size += get_delay_size(&params[i], sr);
@@ -109,7 +108,6 @@
 free(bv->buf);
 #line 175 "bigverb.org"
     free(bv);
-    bv = NULL;
 }
 #line 212 "bigverb.org"
 void sk_bigverb_size(sk_bigverb *bv, SKFLT size)
@@ -238,7 +236,6 @@
     SKFLT frac_norm;
     SKFLT a, b, c, d;
     SKFLT s[4];
-    out = 0;
 #line 666 "bigverb.org"
 del->buf[del->wpos] = in - del->y;
 #line 628 "bigverb.org"

tangled/fmpair.c => tangled/fmpair.c
@@ -71,7 +71,6 @@
     int ipos;
     SKFLT frac;
     SKFLT x[2];
-    out = 0;
 cfreq = fmp->freq * fmp->car;
 mfreq = fmp->freq * fmp->mod;
 fmp->mlphs &= SK_FMPAIR_PHASEMASK;
@@ -127,7 +126,6 @@
     SKFLT frac;
     SKFLT x[2];
     sk_fmpair *fmp;
-    out = 0;
     fmp = &f->fmpair;
 
 cfreq = fmp->freq * fmp->car;

tangled/modalres.c => tangled/modalres.c
@@ -45,7 +45,6 @@
 {
     SKFLT out;
 
-    out = 0;
 #line 246 "modalres.org"
 if (mr->freq != mr->pfreq || mr->q != mr->pq) {
     SKFLT w;

tangled/osc.c => tangled/osc.c
@@ -58,7 +58,6 @@
     int32_t phs;
     int pos;
 
-    out = 0;
 #line 331 "osc.org"
 osc->inc = floor(lrintf(osc->freq * osc->maxlens));
 #line 266 "osc.org"

tangled/peakeq.c => tangled/peakeq.c
@@ -49,7 +49,6 @@
     SKFLT out;
     SKFLT v;
     SKFLT y;
-    out = 0;
 
 #line 304 "peakeq.org"
 if (eq->bw != eq->pbw || eq->freq != eq->pfreq) {

tangled/rline.c => tangled/rline.c
@@ -59,7 +59,6 @@
 {
     SKFLT out;
 
-    out = 0;
 
 #line 361 "rline.org"
 out = rl->start + rl->phasepos*rl->scale;

tangled/vardelay.c => tangled/vardelay.c
@@ -48,7 +48,6 @@
     unsigned long n[4];
     SKFLT a, b, c, d;
 
-    out = 0;
 #line 254 "vardelay.org"
 if (vd->buf == NULL || vd->sz == 0) return 0;
 #line 225 "vardelay.org"