2024-03-26 23:20 ftp://ftp.de.debian.org/debian/pool/main/e/espeakedit/espeakedit_1.48.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 2e06f02 (2024-03-26 23:13:15 +0100) count: 914 910 elapsed-time: 24.2 59.3 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 23.8001s (avg. 23.8001s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 7.98799s (avg. 2.66266s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 7.82183s (avg. 2.60728s - 3 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 3.0981s (avg. 1.0327s - 3 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, errorLogger, settings): 2.31574s (avg. 2.31574s - 1 result(s)) Overall time: 24.0812s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 39.7242s (avg. 39.7242s - 1 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, *settings): 19.2371s (avg. 6.41235s - 3 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 6.96748s (avg. 1.74187s - 4 result(s)) valueFlowUninit(tokenlist, settings): 4.35926s (avg. 1.45309s - 3 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 3.24782s (avg. 1.08261s - 3 result(s)) Overall time: 40.0345s head results: espeakedit-1.48.15/src/espeakedit.cpp:95:1: error: There is an unknown macro here somewhere. Configuration is required. If IMPLEMENT_APP is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/compiledict.cpp:1968:3: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/compiledict.cpp:903:10: warning: Either the condition 'f_log!=NULL' is redundant or there is possible null pointer dereference: f_log. [nullPointerRedundantCheck] espeakedit-1.48.15/src/compiledict.cpp:889:13: note: Assuming that condition 'f_log!=NULL' is not redundant espeakedit-1.48.15/src/compiledict.cpp:903:10: note: Null pointer dereference espeakedit-1.48.15/src/compiledict.cpp:886:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1386:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1546:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1708:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1762:9: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1773:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:1868:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/compiledict.cpp:709:8: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/compiledict.cpp:708:5: note: p is assigned espeakedit-1.48.15/src/compiledict.cpp:709:8: note: p is overwritten espeakedit-1.48.15/src/compiledict.cpp:1237:12: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/compiledict.cpp:1235:5: note: c is assigned espeakedit-1.48.15/src/compiledict.cpp:1237:12: note: c is overwritten espeakedit-1.48.15/src/compiledict.cpp:1341:7: style: Variable 'ix' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/compiledict.cpp:1337:6: note: ix is assigned espeakedit-1.48.15/src/compiledict.cpp:1341:7: note: ix is overwritten espeakedit-1.48.15/src/compiledict.cpp:239:16: style: The scope of the variable 'rb' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:433:6: style: The scope of the variable 'all_upper_case' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:438:7: style: The scope of the variable 'bad_phoneme_str' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:796:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:853:7: style: The scope of the variable 'length' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:943:7: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:947:7: style: The scope of the variable 'literal' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1216:6: style: The scope of the variable 'start' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1222:7: style: The scope of the variable 'bad_phoneme_str' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1528:6: style: The scope of the variable 'len1' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1529:6: style: The scope of the variable 'len2' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1532:8: style: The scope of the variable 'p2' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1598:6: style: The scope of the variable 'length' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1682:6: style: The scope of the variable 'different' can be reduced. [variableScope] espeakedit-1.48.15/src/compiledict.cpp:1921:84: style:inconclusive: Function 'CompileDictionary' argument 4 names different: declaration 'err_name' definition 'fname_err'. [funcArgNamesDifferent] espeakedit-1.48.15/src/synthesize.h:536:84: note: Function 'CompileDictionary' argument 4 names different: declaration 'err_name' definition 'fname_err'. espeakedit-1.48.15/src/compiledict.cpp:1921:84: note: Function 'CompileDictionary' argument 4 names different: declaration 'err_name' definition 'fname_err'. espeakedit-1.48.15/src/compiledict.cpp:247:7: style: Local variable 'linenum' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/compiledict.cpp:42:12: note: Shadowed declaration espeakedit-1.48.15/src/compiledict.cpp:247:7: note: Shadow variable espeakedit-1.48.15/src/compiledict.cpp:1836:10: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/compiledict.cpp:1675:17: note: Shadowed declaration espeakedit-1.48.15/src/compiledict.cpp:1836:10: note: Shadow variable espeakedit-1.48.15/src/compiledict.cpp:201:43: style: Parameter 'flags' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/compiledict.cpp:258:14: style: Variable 'symbols' can be declared as const array [constVariable] espeakedit-1.48.15/src/compiledict.cpp:263:14: style: Variable 'symbols_lg' can be declared as const array [constVariable] espeakedit-1.48.15/src/compiledict.cpp:426:8: style: Variable 'multiple_string' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/compiledict.cpp:427:8: style: Variable 'multiple_string_end' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/compiledict.cpp:435:8: style: Variable 'mnemptr' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/compiledict.cpp:938:13: style: Variable 'next_state' can be declared as const array [constVariable] espeakedit-1.48.15/src/compiledict.cpp:1207:33: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/compiledict.cpp:1405:42: style: Parameter 'a' can be declared as pointer to const. However it seems that 'rgroup_sorter' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/compiledict.cpp:1868:95: note: You might need to cast the function pointer here espeakedit-1.48.15/src/compiledict.cpp:1405:42: note: Parameter 'a' can be declared as pointer to const espeakedit-1.48.15/src/compiledict.cpp:1405:53: style: Parameter 'b' can be declared as pointer to const. However it seems that 'rgroup_sorter' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/compiledict.cpp:1868:95: note: You might need to cast the function pointer here espeakedit-1.48.15/src/compiledict.cpp:1405:53: note: Parameter 'b' can be declared as pointer to const espeakedit-1.48.15/src/compiledict.cpp:1525:77: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/compiledict.cpp:1532:8: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/compiledict.cpp:1594:8: style: Variable 'p_start' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/compiledict.cpp:1672:61: style: Parameter 'fname_temp' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/compiledict.cpp:804:15: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] espeakedit-1.48.15/src/compiledict.cpp:843:14: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] espeakedit-1.48.15/src/compiledict.cpp:886:3: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] espeakedit-1.48.15/src/compiledict.cpp:897:10: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] espeakedit-1.48.15/src/compiledict.cpp:219:79: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] espeakedit-1.48.15/src/compiledict.cpp:217:14: note: Assuming that condition 'ix<64' is not redundant espeakedit-1.48.15/src/compiledict.cpp:219:79: note: Shift espeakedit-1.48.15/src/compiledict.cpp:166:10: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/formantdlg.cpp:43:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/compiledata.cpp:4070:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] espeakedit-1.48.15/src/compiledata.cpp:4099:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] espeakedit-1.48.15/src/compiledata.cpp:4111:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] espeakedit-1.48.15/src/compiledata.cpp:4135:11: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] espeakedit-1.48.15/src/compiledata.cpp:1056:15: error: Array 'voicename[80]' accessed at index 80, which is out of bounds. [arrayIndexOutOfBounds] espeakedit-1.48.15/src/compiledata.cpp:1048:18: note: Assuming that condition 'ixstresslevel>=4' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/intonation.cpp:952:46: note: Assuming that condition 'p->stresslevel>=4' is not redundant espeakedit-1.48.15/src/intonation.cpp:957:22: note: Condition 'p->stresslevel>=4' is always true espeakedit-1.48.15/src/intonation.cpp:332:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:403:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:464:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:466:7: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:615:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:736:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/intonation.cpp:1107:38: style:inconclusive: Function 'CalcPitches' argument 2 names different: declaration 'clause_tone' definition 'clause_type'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:781:38: note: Function 'CalcPitches' argument 2 names different: declaration 'clause_tone' definition 'clause_type'. espeakedit-1.48.15/src/intonation.cpp:1107:38: note: Function 'CalcPitches' argument 2 names different: declaration 'clause_tone' definition 'clause_type'. espeakedit-1.48.15/src/intonation.cpp:475:7: style: Variable 'drops' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:625:7: style: Variable 'drops' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:626:15: style: Variable 'overflow_tab' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:926:42: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/intonation.cpp:938:15: style: Variable 'prev_tph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:939:15: style: Variable 'prevw_tph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:1126:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/intonation.cpp:1174:19: style: Variable 'group_tone_emph' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/intonation.cpp:1180:19: style: Variable 'group_tone_emph' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/menus.cpp:32:7: style: The scope of the variable 'buf' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:33:10: style: The scope of the variable 'old_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:35:10: style: The scope of the variable 'help_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:37:10: style: The scope of the variable 'paths_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:38:10: style: The scope of the variable 'tools_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:39:10: style: The scope of the variable 'voice_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:40:10: style: The scope of the variable 'vowelchart_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/menus.cpp:41:10: style: The scope of the variable 'lexicon_menu' can be reduced. [variableScope] espeakedit-1.48.15/src/options.cpp:58:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/extras.cpp:1559:6: warning: Either the condition 'ix0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/extras.cpp:1075:13: note: Assuming that condition 'vcount<2' is not redundant espeakedit-1.48.15/src/extras.cpp:1082:15: note: Condition 'vcount>0' is always true espeakedit-1.48.15/src/extras.cpp:131:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/extras.cpp:416:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/extras.cpp:578:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/extras.cpp:725:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/extras.cpp:371:3: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/extras.cpp:394:4: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/extras.cpp:394:4: error: Resource leak: f_out [resourceLeak] espeakedit-1.48.15/src/extras.cpp:394:4: error: Resource leak: f_listx [resourceLeak] espeakedit-1.48.15/src/extras.cpp:713:3: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/extras.cpp:63:6: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1517:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1522:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1620:11: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1633:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1758:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:1827:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:2402:95: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:2407:114: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/extras.cpp:682:6: style: The scope of the variable 'c2' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:684:6: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:686:6: style: The scope of the variable 'start' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:850:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1136:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1153:6: style: The scope of the variable 'check_root' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1533:16: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1535:15: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1535:19: style: The scope of the variable 'j' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1536:6: style: The scope of the variable 'n_chars' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1658:15: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1659:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1717:6: style: The scope of the variable 'line_len' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1865:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:1873:6: style: The scope of the variable 'comment' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:2359:15: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/extras.cpp:925:6: style: Local variable 'n_words' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/extras.cpp:1471:12: note: Shadowed declaration espeakedit-1.48.15/src/extras.cpp:925:6: note: Shadow variable espeakedit-1.48.15/src/extras.cpp:1147:6: style: Local variable 'n_words' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/extras.cpp:1471:12: note: Shadowed declaration espeakedit-1.48.15/src/extras.cpp:1147:6: note: Shadow variable espeakedit-1.48.15/src/extras.cpp:1202:12: style: Local variable 'fname' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/extras.cpp:1161:7: note: Shadowed declaration espeakedit-1.48.15/src/extras.cpp:1202:12: note: Shadow variable espeakedit-1.48.15/src/extras.cpp:2362:15: style: Local variable 'voice' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/voice.h:75:17: note: Shadowed declaration espeakedit-1.48.15/src/extras.cpp:2362:15: note: Shadow variable espeakedit-1.48.15/src/extras.cpp:588:42: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] espeakedit-1.48.15/src/extras.cpp:122:30: style: Parameter 'wav' can be declared as pointer to const. However it seems that 'TestSynthCallback' is a callback function, if 'wav' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/extras.cpp:2396:26: note: You might need to cast the function pointer here espeakedit-1.48.15/src/extras.cpp:122:30: note: Parameter 'wav' can be declared as pointer to const espeakedit-1.48.15/src/extras.cpp:221:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:228:15: style: Variable 'replace_ph' can be declared as const array [constVariable] espeakedit-1.48.15/src/extras.cpp:933:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:944:24: style: Variable 'bg_vowels' can be declared as const array [constVariable] espeakedit-1.48.15/src/extras.cpp:1141:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1164:24: style: Variable 'ru_vowels' can be declared as const array [constVariable] espeakedit-1.48.15/src/extras.cpp:1484:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1484:14: style: Variable 'b' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1712:8: style: Variable 'p_end' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1861:18: style: Variable 'pw_match' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1862:18: style: Variable 'pw_post' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:1863:18: style: Variable 'pw_phonemes' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/extras.cpp:588:44: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] espeakedit-1.48.15/src/extras.cpp:1167:15: style: struct member 'SUFFIX::suffix' is never used. [unusedStructMember] espeakedit-1.48.15/src/extras.cpp:1168:8: style: struct member 'SUFFIX::syllables' is never used. [unusedStructMember] espeakedit-1.48.15/src/prosodydisplay.cpp:39:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/readclause.cpp:728:18: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:917:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:926:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:976:33: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:1541:18: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:1556:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:2371:41: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/readclause.cpp:2464:9: style: Variable 'c2' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/readclause.cpp:2437:9: note: c2 is assigned espeakedit-1.48.15/src/readclause.cpp:2464:9: note: c2 is overwritten espeakedit-1.48.15/src/readclause.cpp:469:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:556:15: style: The scope of the variable 'c2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:611:6: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:613:6: style: The scope of the variable 'c2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:615:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:616:6: style: The scope of the variable 'n_bytes' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:727:7: style: The scope of the variable 'phonemes2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:751:7: style: The scope of the variable 'phonemes2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:835:16: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:877:7: style: The scope of the variable 'fd_temp' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:879:8: style: The scope of the variable 'command' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:989:6: style: The scope of the variable 'punct_count' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:998:7: style: The scope of the variable 'buf2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1185:6: style: The scope of the variable 'voice_name_specified' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1190:7: style: The scope of the variable 'buf' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1267:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1449:15: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1451:6: style: The scope of the variable 'n' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1452:6: style: The scope of the variable 'prev_c' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1537:8: style: The scope of the variable 'vp' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1598:11: style: The scope of the variable 'lang' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1599:11: style: The scope of the variable 'gender' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1600:11: style: The scope of the variable 'name' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1601:11: style: The scope of the variable 'age' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1602:11: style: The scope of the variable 'variant' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1603:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1605:14: style: The scope of the variable 'ssml_sp' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1672:6: style: The scope of the variable 'sign' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1751:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1774:6: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:1785:8: style: The scope of the variable 'uri' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:2026:9: style: The scope of the variable 'fname' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:2242:6: style: The scope of the variable 'cprev2' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:2566:11: style: The scope of the variable 'p_word' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:2603:10: style: The scope of the variable 'text_buf' can be reduced. [variableScope] espeakedit-1.48.15/src/readclause.cpp:851:7: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1183:14: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1270:14: style: Variable 'cmd_letter' can be declared as const array [constVariable] espeakedit-1.48.15/src/readclause.cpp:1565:34: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/readclause.cpp:1598:11: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1599:11: style: Variable 'gender' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1600:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1601:11: style: Variable 'age' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1602:11: style: Variable 'variant' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1669:58: style: Parameter 'attr1' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/readclause.cpp:1782:11: style: Variable 'attr2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1783:11: style: Variable 'attr3' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1790:14: style: Variable 'ssml_sp' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/readclause.cpp:1920:25: style: Variable 'emphasis_to_pitch_range' can be declared as const array [constVariable] espeakedit-1.48.15/src/readclause.cpp:1921:25: style: Variable 'emphasis_to_volume' can be declared as const array [constVariable] espeakedit-1.48.15/src/readclause.cpp:1928:25: style: Variable 'emphasis_to_volume2' can be declared as const array [constVariable] espeakedit-1.48.15/src/readclause.cpp:2082:15: style: Variable 'break_value' can be declared as const array [constVariable] espeakedit-1.48.15/src/readclause.cpp:2242:12: style: Variable 'cprev2' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/setlengths.cpp:144:6: style: The scope of the variable 's1' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:148:9: style: The scope of the variable 'sonic' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:482:6: style: The scope of the variable 'default_value' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:564:16: style: The scope of the variable 'next' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:570:7: style: The scope of the variable 'stress' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:571:7: style: The scope of the variable 'type' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:585:6: style: The scope of the variable 'emphasized' can be reduced. [variableScope] espeakedit-1.48.15/src/setlengths.cpp:587:17: style: Variable 'pitch_env' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/phonemelist.cpp:50:17: style: The scope of the variable 'plist2' can be reduced. [variableScope] espeakedit-1.48.15/src/phonemelist.cpp:121:6: style: The scope of the variable 'voicing' can be reduced. [variableScope] espeakedit-1.48.15/src/phonemelist.cpp:127:6: style: The scope of the variable 'inserted' can be reduced. [variableScope] espeakedit-1.48.15/src/phonemelist.cpp:128:6: style: The scope of the variable 'deleted' can be reduced. [variableScope] espeakedit-1.48.15/src/phonemelist.cpp:466:18: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/phonemelist.cpp:108:58: style:inconclusive: Function 'MakePhonemeList' argument 3 names different: declaration 'new_sentence' definition 'start_sentence'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:775:58: note: Function 'MakePhonemeList' argument 3 names different: declaration 'new_sentence' definition 'start_sentence'. espeakedit-1.48.15/src/phonemelist.cpp:108:58: note: Function 'MakePhonemeList' argument 3 names different: declaration 'new_sentence' definition 'start_sentence'. espeakedit-1.48.15/src/phonemelist.cpp:51:15: style: Variable 'next' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/phonemelist.cpp:413:17: style: Variable 'ph2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/phonemelist.cpp:437:17: style: Variable 'ph2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/phonemelist.cpp:519:16: style: Variable 'types_double' can be declared as const array [constVariable] espeakedit-1.48.15/src/sonic.cpp:66:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:177:27: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:186:27: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:192:28: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:198:27: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:203:32: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:222:25: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:238:24: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:695:24: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:781:13: style: Redundant initialization for 'newSamples'. The initialized value is overwritten before it is read. [redundantInitialization] espeakedit-1.48.15/src/sonic.cpp:777:21: note: newSamples is initialized espeakedit-1.48.15/src/sonic.cpp:781:13: note: newSamples is overwritten espeakedit-1.48.15/src/sonic.cpp:80:9: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:503:9: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:526:12: style: The scope of the variable 's' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:526:16: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:527:19: style: The scope of the variable 'diff' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:635:12: style: The scope of the variable 'o' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:635:16: style: The scope of the variable 'u' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:635:20: style: The scope of the variable 'd' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:661:12: style: The scope of the variable 'o' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:661:16: style: The scope of the variable 'u' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:661:20: style: The scope of the variable 'd' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:735:9: style: The scope of the variable 'period' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:735:17: style: The scope of the variable 'newPeriod' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:737:12: style: The scope of the variable 'out' can be reduced. [variableScope] espeakedit-1.48.15/src/sonic.cpp:273:12: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/sonic.cpp:328:12: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/sonic.cpp:497:12: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/sonic.cpp:526:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/sonic.cpp:526:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/speak_lib.cpp:723:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed wchar_t'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/speak_lib.cpp:851:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/speak_lib.cpp:851:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/speak_lib.cpp:919:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/speak_lib.cpp:803:2: error: Common realloc mistake: 'outbuf' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/speak_lib.cpp:810:6: error: Common realloc mistake: 'event_list' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/speak_lib.cpp:313:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:510:30: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:603:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:803:11: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:810:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:851:108: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:919:98: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/speak_lib.cpp:420:6: style: The scope of the variable 'length' can be reduced. [variableScope] espeakedit-1.48.15/src/speak_lib.cpp:770:54: style:inconclusive: Function 'espeak_Initialize' argument 1 names different: declaration 'output' definition 'output_type'. [funcArgNamesDifferent] espeakedit-1.48.15/src/speak_lib.h:188:54: note: Function 'espeak_Initialize' argument 1 names different: declaration 'output' definition 'output_type'. espeakedit-1.48.15/src/speak_lib.cpp:770:54: note: Function 'espeak_Initialize' argument 1 names different: declaration 'output' definition 'output_type'. espeakedit-1.48.15/src/speak_lib.cpp:770:71: style:inconclusive: Function 'espeak_Initialize' argument 2 names different: declaration 'buflength' definition 'buf_length'. [funcArgNamesDifferent] espeakedit-1.48.15/src/speak_lib.h:188:66: note: Function 'espeak_Initialize' argument 2 names different: declaration 'buflength' definition 'buf_length'. espeakedit-1.48.15/src/speak_lib.cpp:770:71: note: Function 'espeak_Initialize' argument 2 names different: declaration 'buflength' definition 'buf_length'. espeakedit-1.48.15/src/speak_lib.cpp:968:48: style:inconclusive: Function 'espeak_Key' argument 1 names different: declaration 'key_name' definition 'key'. [funcArgNamesDifferent] espeakedit-1.48.15/src/speak_lib.h:363:48: note: Function 'espeak_Key' argument 1 names different: declaration 'key_name' definition 'key'. espeakedit-1.48.15/src/speak_lib.cpp:968:48: note: Function 'espeak_Key' argument 1 names different: declaration 'key_name' definition 'key'. espeakedit-1.48.15/src/speak_lib.cpp:1060:67: style:inconclusive: Function 'espeak_SetVoiceByProperties' argument 1 names different: declaration 'voice_spec' definition 'voice_selector'. [funcArgNamesDifferent] espeakedit-1.48.15/src/speak_lib.h:610:67: note: Function 'espeak_SetVoiceByProperties' argument 1 names different: declaration 'voice_spec' definition 'voice_selector'. espeakedit-1.48.15/src/speak_lib.cpp:1060:67: note: Function 'espeak_SetVoiceByProperties' argument 1 names different: declaration 'voice_spec' definition 'voice_selector'. espeakedit-1.48.15/src/speak_lib.cpp:1292:49: style:inconclusive: Function 'espeak_Info' argument 1 names different: declaration 'path_data' definition 'ptr'. [funcArgNamesDifferent] espeakedit-1.48.15/src/speak_lib.h:677:49: note: Function 'espeak_Info' argument 1 names different: declaration 'path_data' definition 'ptr'. espeakedit-1.48.15/src/speak_lib.cpp:1292:49: note: Function 'espeak_Info' argument 1 names different: declaration 'path_data' definition 'ptr'. espeakedit-1.48.15/src/speak_lib.cpp:78:29: style: Parameter 'wvoice' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/speak_lib.cpp:357:8: style: Variable 'env' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/speak_lib.cpp:567:94: style: Parameter 'out_ptr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectdisplay.cpp:48:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/spect.cpp:99:2: performance: Variable 'FONT_SMALL' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] espeakedit-1.48.15/src/spect.cpp:132:3: warning: Class 'SpectFrame' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] espeakedit-1.48.15/src/spect.cpp:132:3: warning: Class 'SpectFrame' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] espeakedit-1.48.15/src/spect.cpp:142:3: error: Mismatching allocation and deallocation: SpectFrame::spect [mismatchAllocDealloc] espeakedit-1.48.15/src/spect.cpp:217:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/spect.cpp:307:6: style: Variable 'ix' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/spect.cpp:306:6: note: ix is assigned espeakedit-1.48.15/src/spect.cpp:307:6: note: ix is overwritten espeakedit-1.48.15/src/spect.cpp:310:8: style: Variable 'ix' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/spect.cpp:307:6: note: ix is assigned espeakedit-1.48.15/src/spect.cpp:310:8: note: ix is overwritten espeakedit-1.48.15/src/spect.cpp:69:8: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:291:7: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:470:6: style: The scope of the variable 'height' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:503:11: style: The scope of the variable 'y2' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:504:9: style: The scope of the variable 'yy' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:579:12: style: The scope of the variable 'pk' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:583:10: style: The scope of the variable 'x2' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:583:14: style: The scope of the variable 'x3' can be reduced. [variableScope] espeakedit-1.48.15/src/spect.cpp:145:39: style:inconclusive: Function 'Import' argument 1 names different: declaration 'stream' definition 'stream1'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:135:30: note: Function 'Import' argument 1 names different: declaration 'stream' definition 'stream1'. espeakedit-1.48.15/src/spect.cpp:145:39: note: Function 'Import' argument 1 names different: declaration 'stream' definition 'stream1'. espeakedit-1.48.15/src/spect.cpp:465:31: style:inconclusive: Function 'GetRms' argument 1 names different: declaration 'amp' definition 'seq_amplitude'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:148:20: note: Function 'GetRms' argument 1 names different: declaration 'amp' definition 'seq_amplitude'. espeakedit-1.48.15/src/spect.cpp:465:31: note: Function 'GetRms' argument 1 names different: declaration 'amp' definition 'seq_amplitude'. espeakedit-1.48.15/src/spect.cpp:496:91: style:inconclusive: Function 'DrawPeaks' argument 5 names different: declaration 'scalex' definition 'scale_x'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:172:82: note: Function 'DrawPeaks' argument 5 names different: declaration 'scalex' definition 'scale_x'. espeakedit-1.48.15/src/spect.cpp:496:91: note: Function 'DrawPeaks' argument 5 names different: declaration 'scalex' definition 'scale_x'. espeakedit-1.48.15/src/spect.cpp:94:36: style: Parameter 'copy' can be declared as pointer to const. However it seems that 'SpectFrame' is a callback function, if 'copy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/spect.h:130:7: note: You might need to cast the function pointer here espeakedit-1.48.15/src/spect.cpp:94:36: note: Parameter 'copy' can be declared as pointer to const espeakedit-1.48.15/src/spect.cpp:212:14: style: Variable 'peak_factor' can be declared as const array [constVariable] espeakedit-1.48.15/src/spect.cpp:421:40: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spect.cpp:501:10: style: Variable 'pk' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spect.cpp:579:12: style: Variable 'pk' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spect.cpp:597:5: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/spectseq.cpp:957:13: error: Array 'fr->klattp[5]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds] espeakedit-1.48.15/src/spectseq.cpp:955:14: note: Assuming that condition 'ix<10' is not redundant espeakedit-1.48.15/src/spectseq.cpp:957:13: note: Array index out of bounds espeakedit-1.48.15/src/spectseq.cpp:885:12: style: Array index 'xx' is used before limits check. [arrayIndexThenCheck] espeakedit-1.48.15/src/spectseq.cpp:132:11: warning: Member variable 'SpectSeq::amplitude' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/spectseq.cpp:132:11: warning: Member variable 'SpectSeq::spare' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/spectseq.cpp:132:11: warning: Member variable 'SpectSeq::pitchenv' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/spectseq.cpp:132:11: warning: Member variable 'SpectSeq::scalex' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/spectseq.cpp:132:11: warning: Member variable 'SpectSeq::scaley' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/spect.h:147:7: performance:inconclusive: Technically the member function 'SpectFrame::MakeHtab' can be static (but you may consider moving to unnamed namespace). [functionStatic] espeakedit-1.48.15/src/spectseq.cpp:1099:18: note: Technically the member function 'SpectFrame::MakeHtab' can be static (but you may consider moving to unnamed namespace). espeakedit-1.48.15/src/spect.h:147:7: note: Technically the member function 'SpectFrame::MakeHtab' can be static (but you may consider moving to unnamed namespace). espeakedit-1.48.15/src/spect.h:195:7: style:inconclusive: Technically the member function 'SpectSeq::CountSelected' can be const. [functionConst] espeakedit-1.48.15/src/spectseq.cpp:176:15: note: Technically the member function 'SpectSeq::CountSelected' can be const. espeakedit-1.48.15/src/spect.h:195:7: note: Technically the member function 'SpectSeq::CountSelected' can be const. espeakedit-1.48.15/src/spect.h:199:8: style:inconclusive: Technically the member function 'SpectSeq::GetFrameLength' can be const. [functionConst] espeakedit-1.48.15/src/spectseq.cpp:310:17: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. espeakedit-1.48.15/src/spect.h:199:8: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. espeakedit-1.48.15/src/spect.h:200:8: style:inconclusive: Technically the member function 'SpectSeq::GetKeyedLength' can be const. [functionConst] espeakedit-1.48.15/src/spectseq.cpp:331:17: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. espeakedit-1.48.15/src/spect.h:200:8: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. espeakedit-1.48.15/src/spect.h:202:7: style:inconclusive: Technically the member function 'SpectSeq::ConstructVowel' can be const. [functionConst] espeakedit-1.48.15/src/spectseq.cpp:588:16: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. espeakedit-1.48.15/src/spect.h:202:7: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. espeakedit-1.48.15/src/spect.h:224:7: style:inconclusive: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. [functionConst] espeakedit-1.48.15/src/spectseq.cpp:904:16: note: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. espeakedit-1.48.15/src/spect.h:224:7: note: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. espeakedit-1.48.15/src/spectseq.cpp:136:3: warning: Class 'SpectSeq' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] espeakedit-1.48.15/src/spectseq.cpp:136:3: warning: Class 'SpectSeq' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] espeakedit-1.48.15/src/spectseq.cpp:563:17: style: Condition 'file_format==2' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/spectseq.cpp:560:15: note: Assignment 'file_format=2', assigned value is 2 espeakedit-1.48.15/src/spectseq.cpp:563:17: note: Condition 'file_format==2' is always true espeakedit-1.48.15/src/spectseq.cpp:162:3: error: Mismatching allocation and deallocation: SpectSeq::frames [mismatchAllocDealloc] espeakedit-1.48.15/src/spectseq.cpp:709:49: style: Same expression on both sides of '-'. [duplicateExpression] espeakedit-1.48.15/src/spectseq.cpp:59:16: style: The scope of the variable 'dift' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:154:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:463:6: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:621:6: style: The scope of the variable 'f' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:622:8: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:786:7: style: The scope of the variable 'f' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:786:10: style: The scope of the variable 'peak' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:833:10: style: The scope of the variable 'y' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:907:7: style: The scope of the variable 'y' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:1111:7: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:1114:7: style: The scope of the variable 'y' can be reduced. [variableScope] espeakedit-1.48.15/src/spectseq.cpp:132:24: style:inconclusive: Function 'SpectSeq' argument 1 names different: declaration 'nframes' definition 'n'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:181:15: note: Function 'SpectSeq' argument 1 names different: declaration 'nframes' definition 'n'. espeakedit-1.48.15/src/spectseq.cpp:132:24: note: Function 'SpectSeq' argument 1 names different: declaration 'nframes' definition 'n'. espeakedit-1.48.15/src/spectseq.cpp:310:58: style:inconclusive: Function 'GetFrameLength' argument 3 names different: declaration 'original_mS' definition 'original'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:199:49: note: Function 'GetFrameLength' argument 3 names different: declaration 'original_mS' definition 'original'. espeakedit-1.48.15/src/spectseq.cpp:310:58: note: Function 'GetFrameLength' argument 3 names different: declaration 'original_mS' definition 'original'. espeakedit-1.48.15/src/spectseq.cpp:783:37: style:inconclusive: Function 'InterpolatePeaks' argument 1 names different: declaration 'on' definition 'control'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:191:28: note: Function 'InterpolatePeaks' argument 1 names different: declaration 'on' definition 'control'. espeakedit-1.48.15/src/spectseq.cpp:783:37: note: Function 'InterpolatePeaks' argument 1 names different: declaration 'on' definition 'control'. espeakedit-1.48.15/src/spectseq.cpp:823:44: style:inconclusive: Function 'MakePitchenv' argument 1 names different: declaration 'pitch' definition 'pitchenv'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:188:35: note: Function 'MakePitchenv' argument 1 names different: declaration 'pitch' definition 'pitchenv'. espeakedit-1.48.15/src/spectseq.cpp:823:44: note: Function 'MakePitchenv' argument 1 names different: declaration 'pitch' definition 'pitchenv'. espeakedit-1.48.15/src/spectseq.cpp:1107:32: style:inconclusive: Function 'MakeWaveF' argument 1 names different: declaration 'peaks' definition 'control'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:146:21: note: Function 'MakeWaveF' argument 1 names different: declaration 'peaks' definition 'control'. espeakedit-1.48.15/src/spectseq.cpp:1107:32: note: Function 'MakeWaveF' argument 1 names different: declaration 'peaks' definition 'control'. espeakedit-1.48.15/src/spectseq.cpp:1107:56: style:inconclusive: Function 'MakeWaveF' argument 2 names different: declaration 'pitch' definition 'pitche'. [funcArgNamesDifferent] espeakedit-1.48.15/src/spect.h:146:43: note: Function 'MakeWaveF' argument 2 names different: declaration 'pitch' definition 'pitche'. espeakedit-1.48.15/src/spectseq.cpp:1107:56: note: Function 'MakeWaveF' argument 2 names different: declaration 'pitch' definition 'pitche'. espeakedit-1.48.15/src/spectseq.cpp:1112:7: style: Local variable 'length' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/spect.h:159:10: note: Shadowed declaration espeakedit-1.48.15/src/spectseq.cpp:1112:7: note: Shadow variable espeakedit-1.48.15/src/spectseq.cpp:986:60: style: Parameter 'pitch' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/spectseq.cpp:1107:56: style: Parameter 'pitche' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/spectseq.cpp:55:20: style: Parameter 'xa' can be declared as const array [constParameter] espeakedit-1.48.15/src/spectseq.cpp:94:31: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectseq.cpp:441:28: style: Parameter 'cy' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectseq.cpp:681:14: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spectseq.cpp:728:10: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spectseq.cpp:729:10: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spectseq.cpp:904:44: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectseq.cpp:995:8: style: Variable 'fname_speech' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spectseq.cpp:1099:42: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectseq.cpp:1117:8: style: Variable 'fname_speech' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/spectseq.cpp:124:11: error: Uninitialized variable: wav_outbuf [uninitvar] espeakedit-1.48.15/src/synth_mbrola.cpp:175:6: error: Common realloc mistake: 'mbrola_tab' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/synth_mbrola.cpp:175:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synth_mbrola.cpp:183:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synth_mbrola.cpp:677:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synth_mbrola.cpp:299:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:302:9: style: The scope of the variable 'p2' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:309:6: style: The scope of the variable 'y2' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:415:15: style: The scope of the variable 'name' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:419:15: style: The scope of the variable 'ph_next' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:420:15: style: The scope of the variable 'ph_prev' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:422:16: style: The scope of the variable 'next' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:432:8: style: The scope of the variable 'ptr' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:668:8: style: The scope of the variable 'value16' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:669:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/synth_mbrola.cpp:205:37: style: Parameter 'plist' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synth_mbrola.cpp:205:57: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synth_mbrola.cpp:210:15: style: Variable 'other_ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synth_mbrola.cpp:303:17: style: Variable 'pitch_env' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synth_mbrola.cpp:422:16: style: Variable 'next' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synth_mbrola.cpp:521:11: style: Variable 'pitch' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synth_mbrola.cpp:526:11: style: Variable 'pitch' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/numbers.cpp:1359:20: style:inconclusive: Boolean expression '!found_value' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] espeakedit-1.48.15/src/numbers.cpp:448:32: warning: Either the condition 'basic_letter<'a'' is redundant or the array 'non_ascii_tab[15]' is accessed at index 37, which is out of bounds. [arrayIndexOutOfBoundsCond] espeakedit-1.48.15/src/numbers.cpp:447:19: note: Assuming that condition 'basic_letter<'a'' is not redundant espeakedit-1.48.15/src/numbers.cpp:448:32: note: Array index out of bounds espeakedit-1.48.15/src/numbers.cpp:2177:19: style: Array index 'ix' is used before limits check. [arrayIndexThenCheck] espeakedit-1.48.15/src/numbers.cpp:1359:20: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] espeakedit-1.48.15/src/numbers.cpp:926:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] espeakedit-1.48.15/src/numbers.cpp:922:15: note: outer condition: ph_buf[0]==0 espeakedit-1.48.15/src/numbers.cpp:926:15: note: identical inner condition: ph_buf[0]==0 espeakedit-1.48.15/src/numbers.cpp:937:18: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] espeakedit-1.48.15/src/numbers.cpp:922:15: note: outer condition: ph_buf[0]==0 espeakedit-1.48.15/src/numbers.cpp:937:18: note: identical inner condition: ph_buf[0]==0 espeakedit-1.48.15/src/numbers.cpp:1673:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] espeakedit-1.48.15/src/numbers.cpp:1669:61: note: outer condition: ph_ordinal[0]==0 espeakedit-1.48.15/src/numbers.cpp:1673:21: note: identical inner condition: ph_ordinal[0]==0 espeakedit-1.48.15/src/numbers.cpp:1695:34: style: Condition '(ix=strlen(ph_tens)-1)>=0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/numbers.cpp:2246:23: style: Condition 'suppress_null==0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/numbers.cpp:2239:24: note: Assuming that condition 'suppress_null==0' is not redundant espeakedit-1.48.15/src/numbers.cpp:2246:23: note: Condition 'suppress_null==0' is always true espeakedit-1.48.15/src/numbers.cpp:550:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/numbers.cpp:1056:7: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/numbers.cpp:1054:7: note: c is assigned espeakedit-1.48.15/src/numbers.cpp:1056:7: note: c is overwritten espeakedit-1.48.15/src/numbers.cpp:423:6: style: The scope of the variable 'accent1' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:424:6: style: The scope of the variable 'accent2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:425:6: style: The scope of the variable 'flags1' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:425:14: style: The scope of the variable 'flags2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:426:6: style: The scope of the variable 'basic_letter' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:427:6: style: The scope of the variable 'letter2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:428:7: style: The scope of the variable 'ph_letter1' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:429:7: style: The scope of the variable 'ph_letter2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:430:7: style: The scope of the variable 'ph_accent1' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:719:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:720:6: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:721:8: style: The scope of the variable 'p2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:722:8: style: The scope of the variable 'pbuf' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:723:14: style: The scope of the variable 'modifier' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:727:6: style: The scope of the variable 'language' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:730:6: style: The scope of the variable 'speak_letter_number' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:736:14: style: The scope of the variable 'pause_string' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:868:8: style: The scope of the variable 'initial' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:868:17: style: The scope of the variable 'code' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1080:6: style: The scope of the variable 'nextflags' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1154:14: style: The scope of the variable 'p2' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1157:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1339:6: style: The scope of the variable 'found' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1344:7: style: The scope of the variable 'ph_buf' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1463:6: style: The scope of the variable 'next_phtype' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1760:6: style: The scope of the variable 'found' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1764:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1765:6: style: The scope of the variable 'exact' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1767:6: style: The scope of the variable 'tplex' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1769:6: style: The scope of the variable 'say_one_hundred' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1770:7: style: The scope of the variable 'string' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1773:7: style: The scope of the variable 'ph_100' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1774:7: style: The scope of the variable 'ph_10T' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:1775:7: style: The scope of the variable 'ph_digits' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:2037:6: style: The scope of the variable 'digix' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:2038:16: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:2047:6: style: The scope of the variable 'decimal_count' can be reduced. [variableScope] espeakedit-1.48.15/src/numbers.cpp:510:77: style:inconclusive: Function 'LookupLetter' argument 4 names different: declaration 'ph_buf' definition 'ph_buf1'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:769:77: note: Function 'LookupLetter' argument 4 names different: declaration 'ph_buf' definition 'ph_buf1'. espeakedit-1.48.15/src/numbers.cpp:510:77: note: Function 'LookupLetter' argument 4 names different: declaration 'ph_buf' definition 'ph_buf1'. espeakedit-1.48.15/src/numbers.cpp:708:43: style:inconclusive: Function 'TranslateLetter' argument 2 names different: declaration 'letter' definition 'word'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:768:43: note: Function 'TranslateLetter' argument 2 names different: declaration 'letter' definition 'word'. espeakedit-1.48.15/src/numbers.cpp:708:43: note: Function 'TranslateLetter' argument 2 names different: declaration 'letter' definition 'word'. espeakedit-1.48.15/src/numbers.cpp:2438:9: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/numbers.cpp:2054:8: note: Shadowed declaration espeakedit-1.48.15/src/numbers.cpp:2438:9: note: Shadow variable espeakedit-1.48.15/src/numbers.cpp:708:43: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/numbers.cpp:736:14: style: Variable 'pause_string' can be declared as const array [constVariable] espeakedit-1.48.15/src/numbers.cpp:1005:36: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/numbers.cpp:1075:50: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/numbers.cpp:1075:82: style: Parameter 'wtab' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/numbers.cpp:1168:13: style: Variable 'roman_values' can be declared as const array [constVariable] espeakedit-1.48.15/src/numbers.cpp:2011:32: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/numbers.cpp:424:14: style: Variable 'accent2' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/tr_languages.cpp:240:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:418:30: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:420:30: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:425:35: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:1141:32: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:1142:32: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:1143:37: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/tr_languages.cpp:1177:33: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:495:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/synthdata.cpp:511:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/synthdata.cpp:122:25: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:124:22: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:126:32: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:128:15: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:130:21: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:157:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:162:43: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:239:9: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:240:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:255:13: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:292:11: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:293:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:302:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:384:9: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthdata.cpp:114:6: style: The scope of the variable 'n_phonemes' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:120:7: style: The scope of the variable 'pw' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:206:16: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:232:7: style: The scope of the variable 'length_std' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:233:7: style: The scope of the variable 'length_factor' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:392:6: style: The scope of the variable 'ph_code' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:617:6: style: The scope of the variable 'which' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:618:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:622:6: style: The scope of the variable 'count' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:623:6: style: The scope of the variable 'check_endtype' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:624:15: style: The scope of the variable 'ph' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:625:16: style: The scope of the variable 'plist_this' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:884:10: style: The scope of the variable 'prog' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:886:14: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:973:9: style: The scope of the variable 'instn' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:974:6: style: The scope of the variable 'instn2' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:975:6: style: The scope of the variable 'or_flag' can be reduced. [variableScope] espeakedit-1.48.15/src/synthdata.cpp:120:7: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthdata.cpp:224:38: style: Parameter 'this_ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthdata.cpp:224:112: style: Parameter 'plist' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthdata.cpp:531:39: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthdata.cpp:537:41: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthdata.cpp:543:16: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthdata.cpp:544:13: style: Variable 'condition_level' can be declared as const array [constVariable] espeakedit-1.48.15/src/synthdata.cpp:624:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthdata.cpp:625:16: style: Variable 'plist_this' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthdata.cpp:884:10: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthdata.cpp:911:27: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/transldlg.cpp:58:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/voicedlg.cpp:90:1: error: There is an unknown macro here somewhere. Configuration is required. If BEGIN_EVENT_TABLE is a macro then please configure it. [unknownMacro] espeakedit-1.48.15/src/synthesize.cpp:810:18: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:827:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:836:22: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:915:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:927:22: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:1242:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:1266:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/synthesize.cpp:216:6: style: The scope of the variable 'srate2' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:470:6: style: The scope of the variable 'h' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:516:7: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:628:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:629:6: style: The scope of the variable 'formant' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:630:6: style: The scope of the variable 'next_rms' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1008:11: style: The scope of the variable 'fr' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1009:7: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1012:7: style: The scope of the variable 'frame_length' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1013:7: style: The scope of the variable 'length_factor' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1278:15: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1279:6: style: The scope of the variable 'command' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1339:16: style: The scope of the variable 'prev' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1340:16: style: The scope of the variable 'next' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1341:16: style: The scope of the variable 'next2' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1353:6: style: The scope of the variable 'done_phoneme_marker' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1896:14: style: The scope of the variable 'phon_out' can be reduced. [variableScope] espeakedit-1.48.15/src/synthesize.cpp:1879:27: style:inconclusive: Function 'SpeakNextClause' argument 1 names different: declaration 'f_text' definition 'f_in'. [funcArgNamesDifferent] espeakedit-1.48.15/src/synthesize.h:526:28: note: Function 'SpeakNextClause' argument 1 names different: declaration 'f_text' definition 'f_in'. espeakedit-1.48.15/src/synthesize.cpp:1879:27: note: Function 'SpeakNextClause' argument 1 names different: declaration 'f_text' definition 'f_in'. espeakedit-1.48.15/src/synthesize.cpp:262:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthesize.cpp:611:36: style: Parameter 'fr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthesize.cpp:626:109: style: Parameter 'other_ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthesize.cpp:1236:7: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/synthesize.cpp:1261:29: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthesize.cpp:1341:16: style: Variable 'next2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/vowelchart.cpp:721:12: style: Condition 'f_txt!=NULL' is always false [knownConditionTrueFalse] espeakedit-1.48.15/src/vowelchart.cpp:685:14: note: Assignment 'f_txt=NULL', assigned value is 0 espeakedit-1.48.15/src/vowelchart.cpp:721:12: note: Condition 'f_txt!=NULL' is always false espeakedit-1.48.15/src/vowelchart.cpp:735:11: style: Condition 'f_txt!=NULL' is always false [knownConditionTrueFalse] espeakedit-1.48.15/src/vowelchart.cpp:685:14: note: Assignment 'f_txt=NULL', assigned value is 0 espeakedit-1.48.15/src/vowelchart.cpp:735:11: note: Condition 'f_txt!=NULL' is always false espeakedit-1.48.15/src/vowelchart.cpp:308:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/vowelchart.cpp:585:3: error: Resource leak: f_prog_log [resourceLeak] espeakedit-1.48.15/src/vowelchart.cpp:424:9: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:583:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:630:18: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:638:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:639:13: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:644:15: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:657:15: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:159:12: style: The scope of the variable 'x2' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:159:15: style: The scope of the variable 'y2' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:272:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:344:6: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:344:8: style: The scope of the variable 'y' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:522:9: style: The scope of the variable 'instn' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:558:8: style: The scope of the variable 'f' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:683:6: style: The scope of the variable 'y_base' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:686:17: style: The scope of the variable 'env' can be reduced. [variableScope] espeakedit-1.48.15/src/vowelchart.cpp:209:14: style: Variable 'frame1' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/vowelchart.cpp:544:46: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'prog_log_sorter' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/vowelchart.cpp:630:162: note: You might need to cast the function pointer here espeakedit-1.48.15/src/vowelchart.cpp:544:46: note: Parameter 'p1' can be declared as pointer to const espeakedit-1.48.15/src/vowelchart.cpp:544:68: style: Parameter 'p2' can be declared as pointer to const. However it seems that 'prog_log_sorter' is a callback function, if 'p2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] espeakedit-1.48.15/src/vowelchart.cpp:630:162: note: You might need to cast the function pointer here espeakedit-1.48.15/src/vowelchart.cpp:544:68: note: Parameter 'p2' can be declared as pointer to const espeakedit-1.48.15/src/vowelchart.cpp:557:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/vowelchart.cpp:562:11: style: Variable 'frame' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/vowelchart.cpp:568:20: style: Variable 'found_prog' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/vowelchart.cpp:686:17: style: Variable 'env' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/translate.cpp:3314:2: error: Address of local auto-variable assigned to a function parameter. [autoVariables] espeakedit-1.48.15/src/translate.cpp:2492:26: style: Condition '(code=c-0xac00)>=0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/translate.cpp:2514:31: style: Condition '(code=c-0x3130)>=0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/translate.cpp:618:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:751:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:773:11: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:1885:6: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:2017:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:2056:53: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:2633:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:2634:18: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:3561:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:3563:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/translate.cpp:2674:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/translate.cpp:2657:4: note: p is assigned espeakedit-1.48.15/src/translate.cpp:2674:7: note: p is overwritten espeakedit-1.48.15/src/translate.cpp:1525:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] espeakedit-1.48.15/src/translate.cpp:1527:3: note: Found duplicate branches for 'if' and 'else'. espeakedit-1.48.15/src/translate.cpp:1525:3: note: Found duplicate branches for 'if' and 'else'. espeakedit-1.48.15/src/translate.cpp:570:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:668:6: style: The scope of the variable 'nbytes' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:669:6: style: The scope of the variable 'ok' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:829:6: style: The scope of the variable 'pfix' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:830:6: style: The scope of the variable 'n_chars' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:839:7: style: The scope of the variable 'phonemes2' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:843:7: style: The scope of the variable 'end_phonemes2' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:844:7: style: The scope of the variable 'word_copy' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:849:6: style: The scope of the variable 'end_flags' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:855:6: style: The scope of the variable 'more_suffixes' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:856:6: style: The scope of the variable 'confirm_prefix' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:858:6: style: The scope of the variable 'stress_bits' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:863:6: style: The scope of the variable 'loopcount' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1691:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1807:6: style: The scope of the variable 'sylimit' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1808:14: style: The scope of the variable 'new_language' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1811:6: style: The scope of the variable 'word_copy_len' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1889:7: style: The scope of the variable 'c1' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1890:8: style: The scope of the variable 'lang_name' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:1942:9: style: The scope of the variable 'ph_buf' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2406:22: style: The scope of the variable 'c2' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2476:6: style: The scope of the variable 'initial' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2477:6: style: The scope of the variable 'medial' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2478:6: style: The scope of the variable 'final' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2556:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2557:6: style: The scope of the variable 'len' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2558:14: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2586:15: style: The scope of the variable 'prev_source_index' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2590:6: style: The scope of the variable 'prev_out2' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:2593:6: style: The scope of the variable 'next_in_nbytes' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:3338:7: style: The scope of the variable 'nw' can be reduced. [variableScope] espeakedit-1.48.15/src/translate.cpp:821:41: style:inconclusive: Function 'TranslateWord' argument 2 names different: declaration 'word1' definition 'word_start'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:787:41: note: Function 'TranslateWord' argument 2 names different: declaration 'word1' definition 'word_start'. espeakedit-1.48.15/src/translate.cpp:821:41: note: Function 'TranslateWord' argument 2 names different: declaration 'word1' definition 'word_start'. espeakedit-1.48.15/src/translate.cpp:1720:32: style:inconclusive: Function 'SetTranslator2' argument 1 names different: declaration 'name' definition 'new_language'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:757:32: note: Function 'SetTranslator2' argument 1 names different: declaration 'name' definition 'new_language'. espeakedit-1.48.15/src/translate.cpp:1720:32: note: Function 'SetTranslator2' argument 1 names different: declaration 'name' definition 'new_language'. espeakedit-1.48.15/src/translate.cpp:2580:80: style:inconclusive: Function 'TranslateClause' argument 4 names different: declaration 'tone' definition 'tone_out'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:788:80: note: Function 'TranslateClause' argument 4 names different: declaration 'tone' definition 'tone_out'. espeakedit-1.48.15/src/translate.cpp:2580:80: note: Function 'TranslateClause' argument 4 names different: declaration 'tone' definition 'tone_out'. espeakedit-1.48.15/src/translate.cpp:3570:19: style:inconclusive: Function 'InitText' argument 1 names different: declaration 'flags' definition 'control'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:738:19: note: Function 'InitText' argument 1 names different: declaration 'flags' definition 'control'. espeakedit-1.48.15/src/translate.cpp:3570:19: note: Function 'InitText' argument 1 names different: declaration 'flags' definition 'control'. espeakedit-1.48.15/src/translate.cpp:1207:11: style: Local variable 'end_phonemes2' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/translate.cpp:843:7: note: Shadowed declaration espeakedit-1.48.15/src/translate.cpp:1207:11: note: Shadow variable espeakedit-1.48.15/src/translate.cpp:1487:10: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/translate.cpp:828:8: note: Shadowed declaration espeakedit-1.48.15/src/translate.cpp:1487:10: note: Shadow variable espeakedit-1.48.15/src/translate.cpp:519:23: style: Variable 'code' can be declared as const array [constVariable] espeakedit-1.48.15/src/translate.cpp:743:8: style: Variable 'p_in' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/translate.cpp:1674:42: style: Parameter 'phonemes' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/translate.cpp:1797:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/translate.cpp:2346:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/translate.cpp:2402:39: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/translate.cpp:2554:43: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/translate.cpp:677:5: style: Variable 'ix' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/translate.cpp:833:14: style: Variable 'end_type' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/translate.cpp:1079:12: style: Variable 'end_type' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/translate.cpp:1187:16: style: Variable 'wordx' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/wavegen.cpp:1905:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1927:36: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1943:25: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1950:57: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1958:63: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1975:24: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1979:21: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:1980:10: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:2066:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/wavegen.cpp:747:9: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:868:6: style: The scope of the variable 'fp' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:875:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1150:6: style: The scope of the variable 'amp' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1171:17: style: The scope of the variable 'waveph' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1173:6: style: The scope of the variable 'total' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1176:6: style: The scope of the variable 'z' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1176:9: style: The scope of the variable 'z1' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1176:13: style: The scope of the variable 'z2' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1177:6: style: The scope of the variable 'echo' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1446:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1664:6: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1737:6: style: The scope of the variable 'cmd' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1872:6: style: The scope of the variable 'length' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:1873:6: style: The scope of the variable 'result' can be reduced. [variableScope] espeakedit-1.48.15/src/wavegen.cpp:867:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/wavegen.cpp:1480:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/wavegen.cpp:1622:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/wavegen.cpp:1662:25: style: Parameter 'voice' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/wavegen.cpp:1738:13: style: Variable 'glottal_reduce_tab1' can be declared as const array [constVariable] espeakedit-1.48.15/src/wavegen.cpp:1740:13: style: Variable 'glottal_reduce_tab2' can be declared as const array [constVariable] espeakedit-1.48.15/src/wavegen.cpp:1446:11: style: Variable 'value' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/voices.cpp:750:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] espeakedit-1.48.15/src/voices.cpp:1778:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] espeakedit-1.48.15/src/voices.cpp:1371:8: style: Condition 'x>0' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/voices.cpp:1367:12: note: Assuming that condition 'ratio<100' is not redundant espeakedit-1.48.15/src/voices.cpp:1368:17: note: Assignment 'ratio=10000/ratio', assigned value is 101 espeakedit-1.48.15/src/voices.cpp:1369:24: note: Assignment 'ratio=(ratio-100)/10', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:1370:9: note: Assignment 'x=5-ratio', assigned value is greater than 4 espeakedit-1.48.15/src/voices.cpp:1371:8: note: Condition 'x>0' is always true espeakedit-1.48.15/src/voices.cpp:346:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:360:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:521:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:733:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:779:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:788:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:798:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:802:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:840:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:915:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:995:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:1023:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:1043:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/voices.cpp:1946:2: error: Common realloc mistake: 'voices' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/voices.cpp:376:6: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:377:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1217:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1218:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1232:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1233:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1448:41: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1775:20: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1838:24: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1946:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1950:5: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:1972:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/voices.cpp:862:11: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] espeakedit-1.48.15/src/voices.cpp:861:7: note: n is assigned espeakedit-1.48.15/src/voices.cpp:862:11: note: n is overwritten espeakedit-1.48.15/src/voices.cpp:243:6: style: The scope of the variable 'freq2' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:245:6: style: The scope of the variable 'height2' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:602:14: style: The scope of the variable 'voice_dir' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1149:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1246:6: style: The scope of the variable 'language_priority' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1247:6: style: The scope of the variable 'n_parts' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1248:6: style: The scope of the variable 'matching' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1249:6: style: The scope of the variable 'matching_parts' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1252:6: style: The scope of the variable 'ratio' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1253:6: style: The scope of the variable 'required_age' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1394:7: style: The scope of the variable 'buf' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1532:6: style: The scope of the variable 'skip' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1933:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:1934:6: style: The scope of the variable 'j' can be reduced. [variableScope] espeakedit-1.48.15/src/voices.cpp:404:21: style:inconclusive: Function 'VoiceReset' argument 1 names different: declaration 'control' definition 'tone_only'. [funcArgNamesDifferent] espeakedit-1.48.15/src/voice.h:86:21: note: Function 'VoiceReset' argument 1 names different: declaration 'control' definition 'tone_only'. espeakedit-1.48.15/src/voices.cpp:404:21: note: Function 'VoiceReset' argument 1 names different: declaration 'control' definition 'tone_only'. espeakedit-1.48.15/src/voices.cpp:559:32: style:inconclusive: Function 'LoadVoice' argument 1 names different: declaration 'voice_name' definition 'vname'. [funcArgNamesDifferent] espeakedit-1.48.15/src/voice.h:80:32: note: Function 'LoadVoice' argument 1 names different: declaration 'voice_name' definition 'vname'. espeakedit-1.48.15/src/voices.cpp:559:32: note: Function 'LoadVoice' argument 1 names different: declaration 'voice_name' definition 'vname'. espeakedit-1.48.15/src/voices.cpp:1190:39: style:inconclusive: Function 'LoadVoiceVariant' argument 1 names different: declaration 'voice_name' definition 'vname'. [funcArgNamesDifferent] espeakedit-1.48.15/src/voice.h:81:39: note: Function 'LoadVoiceVariant' argument 1 names different: declaration 'voice_name' definition 'vname'. espeakedit-1.48.15/src/voices.cpp:1190:39: note: Function 'LoadVoiceVariant' argument 1 names different: declaration 'voice_name' definition 'vname'. espeakedit-1.48.15/src/voices.cpp:1190:50: style:inconclusive: Function 'LoadVoiceVariant' argument 2 names different: declaration 'variant' definition 'variant_num'. [funcArgNamesDifferent] espeakedit-1.48.15/src/voice.h:81:55: note: Function 'LoadVoiceVariant' argument 2 names different: declaration 'variant' definition 'variant_num'. espeakedit-1.48.15/src/voices.cpp:1190:50: note: Function 'LoadVoiceVariant' argument 2 names different: declaration 'variant' definition 'variant_num'. espeakedit-1.48.15/src/voices.cpp:1456:68: style:inconclusive: Function 'SelectVoiceByName' argument 2 names different: declaration 'name' definition 'name2'. [funcArgNamesDifferent] espeakedit-1.48.15/src/voice.h:79:68: note: Function 'SelectVoiceByName' argument 2 names different: declaration 'name' definition 'name2'. espeakedit-1.48.15/src/voices.cpp:1456:68: note: Function 'SelectVoiceByName' argument 2 names different: declaration 'name' definition 'name2'. espeakedit-1.48.15/src/voices.cpp:276:27: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:409:23: style: Variable 'default_heights' can be declared as const array [constVariable] espeakedit-1.48.15/src/voices.cpp:410:23: style: Variable 'default_widths' can be declared as const array [constVariable] espeakedit-1.48.15/src/voices.cpp:414:13: style: Variable 'breath_widths' can be declared as const array [constVariable] espeakedit-1.48.15/src/voices.cpp:482:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:512:48: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:535:31: style: Parameter 'data_in' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:1021:15: style: Variable 'alphabet' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1144:44: style: Parameter 'vname' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:1196:8: style: Variable 'variant_name' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1217:16: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1218:16: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1232:16: style: Variable 'v1' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1233:16: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1241:37: style: Parameter 'voice_spec' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:1241:127: style: Parameter 'voice' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:1522:39: style: Parameter 'voice_select' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/voices.cpp:1534:8: style: Variable 'variant_name' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1773:17: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1820:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:1823:8: style: Variable 'variant_name' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voices.cpp:877:33: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 876. [shiftTooManyBitsSigned] espeakedit-1.48.15/src/voices.cpp:876:33: note: Assuming that condition 'n<64' is not redundant espeakedit-1.48.15/src/voices.cpp:877:33: note: Shift espeakedit-1.48.15/src/voices.cpp:1479:15: style: Variable 'variant_name' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/dictionary.cpp:413:18: style: Array index 'count' is used before limits check. [arrayIndexThenCheck] espeakedit-1.48.15/src/dictionary.cpp:776:8: error: Common realloc mistake: 'phon_out_buf' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/dictionary.cpp:1861:31: warning: Either the condition 'string!=NULL' is redundant or there is possible null pointer dereference: string. [nullPointerRedundantCheck] espeakedit-1.48.15/src/dictionary.cpp:1894:12: note: Assuming that condition 'string!=NULL' is not redundant espeakedit-1.48.15/src/dictionary.cpp:1861:31: note: Null pointer dereference espeakedit-1.48.15/src/dictionary.cpp:171:8: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:279:7: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:668:22: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:776:23: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:1137:9: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:3608:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:3636:16: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/dictionary.cpp:364:7: style: The scope of the variable 'consumed' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:537:6: style: The scope of the variable 'len' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:648:16: style: The scope of the variable 'len' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:654:6: style: The scope of the variable 'count' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:843:6: style: The scope of the variable 'letter2' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1213:6: style: The scope of the variable 'mnem' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1918:16: style: The scope of the variable 'letter' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1931:7: style: The scope of the variable 'failed' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1932:7: style: The scope of the variable 'unpron_ignore' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1933:7: style: The scope of the variable 'consumed' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1937:7: style: The scope of the variable 'distance_right' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1938:7: style: The scope of the variable 'distance_left' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:1943:6: style: The scope of the variable 'check_atstart' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2607:6: style: The scope of the variable 'wc_bytes' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2612:7: style: The scope of the variable 'n' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2921:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2923:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2969:6: style: The scope of the variable 'c2' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2970:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2978:6: style: The scope of the variable 'bits' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2979:6: style: The scope of the variable 'acc' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:2981:15: style: The scope of the variable 'pairs_list' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:3607:6: style: The scope of the variable 'say_as' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:3661:14: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:3662:7: style: The scope of the variable 'len' can be reduced. [variableScope] espeakedit-1.48.15/src/dictionary.cpp:265:26: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] espeakedit-1.48.15/src/dictionary.cpp:875:33: style:inconclusive: Function 'IsVowel' argument 2 names different: declaration 'c' definition 'letter'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:743:33: note: Function 'IsVowel' argument 2 names different: declaration 'c' definition 'letter'. espeakedit-1.48.15/src/dictionary.cpp:875:33: note: Function 'IsVowel' argument 2 names different: declaration 'c' definition 'letter'. espeakedit-1.48.15/src/dictionary.cpp:1181:97: style:inconclusive: Function 'SetWordStress' argument 5 names different: declaration 'prev_stress' definition 'control'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:785:97: note: Function 'SetWordStress' argument 5 names different: declaration 'prev_stress' definition 'control'. espeakedit-1.48.15/src/dictionary.cpp:1181:97: note: Function 'SetWordStress' argument 5 names different: declaration 'prev_stress' definition 'control'. espeakedit-1.48.15/src/dictionary.cpp:2599:42: style:inconclusive: Function 'TranslateRules' argument 2 names different: declaration 'p' definition 'p_start'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:786:42: note: Function 'TranslateRules' argument 2 names different: declaration 'p' definition 'p_start'. espeakedit-1.48.15/src/dictionary.cpp:2599:42: note: Function 'TranslateRules' argument 2 names different: declaration 'p' definition 'p_start'. espeakedit-1.48.15/src/dictionary.cpp:2599:71: style:inconclusive: Function 'TranslateRules' argument 4 names different: declaration 'size' definition 'ph_size'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:786:65: note: Function 'TranslateRules' argument 4 names different: declaration 'size' definition 'ph_size'. espeakedit-1.48.15/src/dictionary.cpp:2599:71: note: Function 'TranslateRules' argument 4 names different: declaration 'size' definition 'ph_size'. espeakedit-1.48.15/src/dictionary.cpp:2599:104: style:inconclusive: Function 'TranslateRules' argument 6 names different: declaration 'end_flags' definition 'word_flags'. [funcArgNamesDifferent] espeakedit-1.48.15/src/translate.h:786:95: note: Function 'TranslateRules' argument 6 names different: declaration 'end_flags' definition 'word_flags'. espeakedit-1.48.15/src/dictionary.cpp:2599:104: note: Function 'TranslateRules' argument 6 names different: declaration 'end_flags' definition 'word_flags'. espeakedit-1.48.15/src/dictionary.cpp:2233:12: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/dictionary.cpp:1927:8: note: Shadowed declaration espeakedit-1.48.15/src/dictionary.cpp:2233:12: note: Shadow variable espeakedit-1.48.15/src/dictionary.cpp:2262:12: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/dictionary.cpp:1927:8: note: Shadowed declaration espeakedit-1.48.15/src/dictionary.cpp:2262:12: note: Shadow variable espeakedit-1.48.15/src/dictionary.cpp:2282:12: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/dictionary.cpp:1927:8: note: Shadowed declaration espeakedit-1.48.15/src/dictionary.cpp:2282:12: note: Shadow variable espeakedit-1.48.15/src/dictionary.cpp:2473:12: style: Local variable 'p' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/dictionary.cpp:1927:8: note: Shadowed declaration espeakedit-1.48.15/src/dictionary.cpp:2473:12: note: Shadow variable espeakedit-1.48.15/src/dictionary.cpp:2645:17: style: Local variable 'ix' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/dictionary.cpp:2615:7: note: Shadowed declaration espeakedit-1.48.15/src/dictionary.cpp:2645:17: note: Shadow variable espeakedit-1.48.15/src/dictionary.cpp:138:8: style: Variable 'p_name' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:243:7: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:480:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:533:52: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:913:12: style: Variable 'alphabet' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:990:39: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:994:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:1130:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:1181:64: style: Parameter 'dictionary_flags' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:1199:15: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:1210:8: style: Variable 'max_output' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:1227:14: style: Variable 'consonant_types' can be declared as const array [constVariable] espeakedit-1.48.15/src/dictionary.cpp:1455:16: style: Variable 'guess_ru' can be declared as const array [constVariable] espeakedit-1.48.15/src/dictionary.cpp:1456:16: style: Variable 'guess_ru_v' can be declared as const array [constVariable] espeakedit-1.48.15/src/dictionary.cpp:1457:16: style: Variable 'guess_ru_t' can be declared as const array [constVariable] espeakedit-1.48.15/src/dictionary.cpp:1900:59: style: Parameter 'word_start' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:1953:8: style: Variable 'group_chars' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:2618:12: style: Variable 'alphabet' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:2918:41: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:2964:35: style: Parameter 'tr' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:3079:73: style: Parameter 'wtab' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/dictionary.cpp:3193:34: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 3184. [shiftTooManyBitsSigned] espeakedit-1.48.15/src/dictionary.cpp:3184:13: note: Assuming that condition 'flag>=132' is not redundant espeakedit-1.48.15/src/dictionary.cpp:3193:34: note: Shift espeakedit-1.48.15/src/dictionary.cpp:1968:13: style: Variable 'match_type' is assigned a value that is never used. [unreadVariable] diff: head espeakedit-1.48.15/src/compiledict.cpp:1532:8: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] head espeakedit-1.48.15/src/compiledict.cpp:433:6: style: The scope of the variable 'all_upper_case' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/extras.cpp:2330:36: warning: Uninitialized variable: exceptions [uninitvar] espeakedit-1.48.15/src/extras.cpp:2289:14: note: Assuming condition is false espeakedit-1.48.15/src/extras.cpp:2330:36: note: Uninitialized variable: exceptions 2.13.0 espeakedit-1.48.15/src/intonation.cpp:957:22: style: Condition 'p->stresslevel>=4' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/intonation.cpp:952:46: note: Assuming condition 'p->stresslevel>=4' is true espeakedit-1.48.15/src/intonation.cpp:957:22: note: Condition 'p->stresslevel>=4' is always true head espeakedit-1.48.15/src/intonation.cpp:957:22: style: Condition 'p->stresslevel>=4' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/intonation.cpp:952:46: note: Assuming that condition 'p->stresslevel>=4' is not redundant espeakedit-1.48.15/src/intonation.cpp:957:22: note: Condition 'p->stresslevel>=4' is always true head espeakedit-1.48.15/src/klatt.cpp:1030:15: style: Variable 'amptable' can be declared as const array [constVariable] 2.13.0 espeakedit-1.48.15/src/numbers.cpp:1462:6: style: The scope of the variable 'found_ordinal' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/numbers.cpp:1465:7: style: The scope of the variable 'string' can be reduced. [variableScope] head espeakedit-1.48.15/src/numbers.cpp:1764:6: style: The scope of the variable 'ix' can be reduced. [variableScope] head espeakedit-1.48.15/src/spect.cpp:69:8: style: The scope of the variable 'x' can be reduced. [variableScope] head espeakedit-1.48.15/src/spectseq.cpp:1099:42: style: Parameter 'htab' can be declared as pointer to const [constParameterPointer] 2.13.0 espeakedit-1.48.15/src/synth_mbrola.cpp:399:12: style: Condition 'env100<100' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/synth_mbrola.cpp:308:15: note: Assignment 'env100=80', assigned value is 80 espeakedit-1.48.15/src/synth_mbrola.cpp:399:12: note: Condition 'env100<100' is always true 2.13.0 espeakedit-1.48.15/src/synthesize.cpp:384:8: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] 2.13.0 espeakedit-1.48.15/src/translate.cpp:695:41: style: Condition 'word[nbytes]==' '' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/translate.cpp:683:20: note: Assuming that condition 'word[nbytes]==' '' is not redundant espeakedit-1.48.15/src/translate.cpp:695:41: note: Condition 'word[nbytes]==' '' is always true head espeakedit-1.48.15/src/translate.cpp:829:6: style: The scope of the variable 'pfix' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:830:6: style: The scope of the variable 'n_chars' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:839:7: style: The scope of the variable 'phonemes2' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:843:7: style: The scope of the variable 'end_phonemes2' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:844:7: style: The scope of the variable 'word_copy' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:849:6: style: The scope of the variable 'end_flags' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:855:6: style: The scope of the variable 'more_suffixes' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:856:6: style: The scope of the variable 'confirm_prefix' can be reduced. [variableScope] head espeakedit-1.48.15/src/translate.cpp:863:6: style: The scope of the variable 'loopcount' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/voices.cpp:1243:6: style: The scope of the variable 'ix' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/voices.cpp:1245:10: style: The scope of the variable 'c2' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/voices.cpp:1245:6: style: The scope of the variable 'c1' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/voices.cpp:1254:6: style: The scope of the variable 'diff' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/voices.cpp:593:7: style: The scope of the variable 'path_voices' can be reduced. [variableScope] 2.13.0 espeakedit-1.48.15/src/wavegen.cpp:1331:39: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] head espeakedit-1.48.15/src/wavegen.cpp:1480:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] DONE