code cleanup: remove unused width2.

It is set but never used.
This commit is contained in:
Juho Hiltunen
2021-02-22 18:24:27 +02:00
parent cffdfb837b
commit 1243937334
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -64,7 +64,6 @@ typedef struct {
// copies without temporary adjustments from embedded commands
short freq2[N_PEAKS]; // 100% = 256
short height2[N_PEAKS]; // 100% = 256
short width2[N_PEAKS]; // 100% = 256
int breath[N_PEAKS]; // amount of breath for each formant. breath[0] indicates whether any are set.
int breathw[N_PEAKS]; // width of each breath formant
-1
View File
@@ -867,7 +867,6 @@ voice_t *LoadVoice(const char *vname, int control)
for (ix = 0; ix < N_PEAKS; ix++) {
voice->freq2[ix] = voice->freq[ix];
voice->height2[ix] = voice->height[ix];
voice->width2[ix] = voice->width[ix];
}
if (tone_only)