ref: 6666cce6159b438418bb744daabe8f450f756938
parent: 96270757ecc40d555aa27236c970dda9b4ec1975
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue May 25 02:07:20 EDT 2021
tangled: fix warnings
--- a/tangled/bigverb.c
+++ b/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(¶ms[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"
--- a/tangled/fmpair.c
+++ b/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;
--- a/tangled/modalres.c
+++ b/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;
--- a/tangled/osc.c
+++ b/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"
--- a/tangled/peakeq.c
+++ b/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) {
--- a/tangled/rline.c
+++ b/tangled/rline.c
@@ -59,7 +59,6 @@
{
SKFLT out;
- out = 0;
#line 361 "rline.org"
out = rl->start + rl->phasepos*rl->scale;
--- a/tangled/vardelay.c
+++ b/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"