Browse Source

cleanup: remove redundant *next2

master
Juho Hiltunen 2 years ago
parent
commit
e8e5e06422
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/libespeak-ng/phonemelist.c

+ 2
- 3
src/libespeak-ng/phonemelist.c View File

int insert_ph = 0; int insert_ph = 0;
PHONEME_LIST *phlist; PHONEME_LIST *phlist;
PHONEME_TAB *ph = NULL; PHONEME_TAB *ph = NULL;
PHONEME_TAB *next, *next2;
PHONEME_TAB *next;
int unstress_count = 0; int unstress_count = 0;
int word_stress = 0; int word_stress = 0;
int current_phoneme_tab; int current_phoneme_tab;
} }
} }


next2 = phoneme_tab[plist3[2].phcode];
plist3[2].ph = next2;
plist3[2].ph = phoneme_tab[plist3[2].phcode];


if ((insert_ph == 0) && (phdata.pd_param[pd_APPENDPHONEME] != 0)) if ((insert_ph == 0) && (phdata.pd_param[pd_APPENDPHONEME] != 0))
insert_ph = phdata.pd_param[pd_APPENDPHONEME]; insert_ph = phdata.pd_param[pd_APPENDPHONEME];

Loading…
Cancel
Save