summaryrefslogtreecommitdiffstats
path: root/src/osc_tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osc_tri.c')
-rw-r--r--src/osc_tri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osc_tri.c b/src/osc_tri.c
index f0c9951..35abe7f 100644
--- a/src/osc_tri.c
+++ b/src/osc_tri.c
@@ -14,6 +14,7 @@ tri(int index)
else if (index == 2) return 0.0f;
else if (index == 3) return -1.0f;
//else return 0.0f;
+ return 0;
}
float
@@ -55,7 +56,6 @@ make_tri(const char * name)
{
osc_t * osc = (osc_t *)malloc(sizeof(osc_t));
- int len = strlen(name);
strncpy(osc->name, name, 16);
osc->data = NULL;
osc->len = 2;