Browse Source

Fix clang -Wconditional-uninitialized warnings.

master
Reece H. Dunn 9 years ago
parent
commit
53aac7f3a5
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      src/libespeak-ng/compiledata.c
  2. 1
    1
      src/libespeak-ng/translate.c
  3. 1
    1
      src/libespeak-ng/wavegen.c

+ 1
- 1
src/libespeak-ng/compiledata.c View File

char c; char c;
int keyword; int keyword;
int n_tune_names = 0; int n_tune_names = 0;
int done_split;
int done_split = 0;
int done_onset = 0; int done_onset = 0;
int done_last = 0; int done_last = 0;
int n_preset_tunes = 0; int n_preset_tunes = 0;

+ 1
- 1
src/libespeak-ng/translate.c View File

{ {
int ix; int ix;
int c; int c;
int cc;
int cc = 0;
unsigned int source_index = 0; unsigned int source_index = 0;
unsigned int prev_source_index = 0; unsigned int prev_source_index = 0;
int source_index_word = 0; int source_index_word = 0;

+ 1
- 1
src/libespeak-ng/wavegen.c View File

signed char c; signed char c;
int sample; int sample;
int amp; int amp;
int modn_amp, modn_period;
int modn_amp = 1, modn_period;
static int agc = 256; static int agc = 256;
static int h_switch_sign = 0; static int h_switch_sign = 0;
static int cycle_count = 0; static int cycle_count = 0;

Loading…
Cancel
Save