Revert "wavegen.c: Fix -Wunused-but-set-variable warning."

This reverts commit 6d751c93bf.

Fixes https://github.com/nvaccess/nvda/issues/8231.
This commit is contained in:
Reece H. Dunn
2018-05-08 07:28:52 +01:00
parent 3582aa6aca
commit 0325a42374
+3 -4
View File
@@ -1397,14 +1397,13 @@ static int SpeedUp(short *outbuf, int length_in, int length_out, int end_of_text
int WavegenFill(void)
{
int finished;
finished = WavegenFill2();
#if HAVE_SONIC_H
unsigned char *p_start;
p_start = out_ptr;
finished = WavegenFill2();
#if HAVE_SONIC_H
if (sonicSpeed > 1.0) {
int length;
int max_length;