2025-05-10 07:20 ftp://ftp.de.debian.org/debian/pool/main/e/espeakedit/espeakedit_1.48.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=wxwidgets --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 1189 1171 elapsed-time: 10.9 11.3 head-timing-info: old-timing-info: head results: espeakedit-1.48.15/praat-mod/Sound_JSD.cpp:69:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable my [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledict.cpp:1823:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledict.cpp:1947:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledata.cpp:979:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledata.cpp:1645:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledata.cpp:3557:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledata.cpp:3768:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxOPEN [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/compiledata.cpp:3911:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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:1387:9: warning: If memory allocation fails, then there is a possible null pointer dereference: prule [nullPointerOutOfMemory] espeakedit-1.48.15/src/compiledict.cpp:1386:24: note: Assuming allocation function fails espeakedit-1.48.15/src/compiledict.cpp:1386:10: note: Assignment 'prule=(char*)malloc(len)', assigned value is 0 espeakedit-1.48.15/src/compiledict.cpp:1387:9: 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:1546:45: 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:1868:51: 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:950:12: style: Variable 'mr' can be declared as pointer to const [constVariablePointer] 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/dictionary.cpp:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/dictionary.cpp:269:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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/klatt.cpp:1261:13: style: The if condition is the same as the previous if condition [duplicateCondition] espeakedit-1.48.15/src/klatt.cpp:1207:13: note: First condition espeakedit-1.48.15/src/klatt.cpp:1261:13: note: Second condition espeakedit-1.48.15/src/klatt.cpp:1220:12: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/klatt.cpp:233:6: style: The scope of the variable 'itemp' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:234:9: style: The scope of the variable 'ftemp' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:236:9: style: The scope of the variable 'diff_value' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:237:6: style: The scope of the variable 'current_value' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:238:6: style: The scope of the variable 'next_value' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:239:9: style: The scope of the variable 'temp_diff' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:290:9: style: The scope of the variable 'temp' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:291:6: style: The scope of the variable 'value' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:292:9: style: The scope of the variable 'outbypas' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:293:9: style: The scope of the variable 'out' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:295:9: style: The scope of the variable 'frics' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:296:9: style: The scope of the variable 'glotout' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:297:9: style: The scope of the variable 'aspiration' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:299:9: style: The scope of the variable 'par_glotout' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:304:16: style: The scope of the variable 'sourc' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:495:16: style: The scope of the variable 'c' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:496:8: style: The scope of the variable 'sample' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:715:9: style: The scope of the variable 'lgtemp' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:771:7: style: The scope of the variable 'temp' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:772:9: style: The scope of the variable 'temp1' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:773:14: style: The scope of the variable 'skew' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:1067:6: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:1069:6: style: The scope of the variable 'fade' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:1187:6: style: The scope of the variable 'qix' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:1188:6: style: The scope of the variable 'cmd' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:1189:11: style: The scope of the variable 'fr3' can be reduced. [variableScope] espeakedit-1.48.15/src/klatt.cpp:541:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] espeakedit-1.48.15/src/klatt.cpp:301:16: 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/klatt.cpp:301:16: note: Shadow variable espeakedit-1.48.15/src/klatt.cpp:240:9: style: Variable 'samples' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/klatt.cpp:607:16: style: Variable 'amp_par_factor' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:689:16: style: Variable 'doublet' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:774:15: style: Variable 'B0' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:1030:15: style: Variable 'amptable' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:1189:11: style: Variable 'fr3' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/klatt.cpp:1361:15: style: Variable 'formant_hz' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:1362:15: style: Variable 'bandwidth' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:1363:15: style: Variable 'parallel_amp' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:1364:15: style: Variable 'parallel_bw' can be declared as const array [constVariable] espeakedit-1.48.15/src/klatt.cpp:815:20: 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] espeakedit-1.48.15/src/klatt.cpp:498:7: style: Variable 'z2' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/mbrowrap.cpp:75:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:248:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:292:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:338:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:398:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:553:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/mbrowrap.cpp:351:11: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/mbrowrap.cpp:379:6: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/mbrowrap.cpp:463:19: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/mbrowrap.cpp:126:10: style: The scope of the variable 'written' can be reduced. [variableScope] espeakedit-1.48.15/src/mbrowrap.cpp:231:20: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/mbrowrap.cpp:283:6: style: The scope of the variable 'result' can be reduced. [variableScope] espeakedit-1.48.15/src/mbrowrap.cpp:387:6: style: The scope of the variable 'result' can be reduced. [variableScope] espeakedit-1.48.15/src/mbrowrap.cpp:113:29: style: Parameter 'p1' can be declared as const array [constParameter] espeakedit-1.48.15/src/mbrowrap.cpp:113:40: style: Parameter 'p2' can be declared as const array [constParameter] espeakedit-1.48.15/src/mbrowrap.cpp:113:51: style: Parameter 'p3' can be declared as const array [constParameter] espeakedit-1.48.15/src/mbrowrap.cpp:371:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/mbrowrap.cpp:440:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/menus.cpp:104:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/menus.cpp:80:21: warning: Return value of function speak_menu->AppendSeparator() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/menus.cpp:96:20: warning: Return value of function data_menu->AppendSeparator() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/menus.cpp:99:20: warning: Return value of function data_menu->AppendSeparator() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/menus.cpp:116:21: warning: Return value of function paths_menu->AppendSeparator() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/menus.cpp:122:22: warning: Return value of function option_menu->AppendSeparator() is not used. [ignoredReturnValue] 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/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:400:3: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/extras.cpp:400:3: error: Resource leak: f_out [resourceLeak] espeakedit-1.48.15/src/extras.cpp:713:3: error: Resource leak: f_in [resourceLeak] espeakedit-1.48.15/src/extras.cpp:127:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f_events [nullPointerOutOfResources] espeakedit-1.48.15/src/extras.cpp:125:18: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:125:18: note: Assignment 'f_events=fopen("/home/jsd1/speechdata/text/events","a")', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:127:10: note: Null pointer dereference espeakedit-1.48.15/src/extras.cpp:1628:4: warning: If memory allocation fails, then there is a possible null pointer dereference: w_list [nullPointerOutOfMemory] espeakedit-1.48.15/src/extras.cpp:1620:28: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:1620:11: note: Assignment 'w_list=(wcount**)malloc(sizeof(wcount*)*n_words)', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:1628:4: note: Null pointer dereference espeakedit-1.48.15/src/extras.cpp:1829:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] espeakedit-1.48.15/src/extras.cpp:1827:21: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:1827:7: note: Assignment 'p=(char*)malloc(key_len+line_len+8)', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:1829:10: note: Null pointer dereference espeakedit-1.48.15/src/extras.cpp:2326:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] espeakedit-1.48.15/src/extras.cpp:2285:11: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:2285:11: note: Assignment 'f=fopen("/home/jsd1/walpha_tab.txt","w")', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:2326:10: note: Null pointer dereference espeakedit-1.48.15/src/extras.cpp:2392:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f_events [nullPointerOutOfResources] espeakedit-1.48.15/src/extras.cpp:2391:18: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:2391:18: note: Assignment 'f_events=fopen("/home/jsd1/speechdata/text/events","w")', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:2392:10: note: Null pointer dereference espeakedit-1.48.15/src/extras.cpp:2393:9: warning: If resource allocation fails, then there is a possible null pointer dereference: f_events [nullPointerOutOfResources] espeakedit-1.48.15/src/extras.cpp:2391:18: note: Assuming allocation function fails espeakedit-1.48.15/src/extras.cpp:2391:18: note: Assignment 'f_events=fopen("/home/jsd1/speechdata/text/events","w")', assigned value is 0 espeakedit-1.48.15/src/extras.cpp:2393:9: note: Null pointer dereference 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:1633:43: 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:1758:54: 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:320:11: style: The scope of the variable 'str' can be reduced. [variableScope] 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:1529:29: performance: Function parameter 'path' should be passed by const reference. [passedByValue] 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:122:65: style: Parameter 'events' can be declared as pointer to const. However it seems that 'TestSynthCallback' is a callback function, if 'events' 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:65: note: Parameter 'events' 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:305:12: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] 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/options.cpp:114:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/options.cpp:159:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/options.cpp:208:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/options.cpp:202:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:203:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:204:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:205:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:206:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:207:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:208:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:209:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:210:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:211:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:212:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:213:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:214:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:215:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:216:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:217:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:218:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:219:11: warning: Return value of function pConfig->Write() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/options.cpp:185:42: error: Null pointer dereference [nullPointer] espeakedit-1.48.15/src/options.cpp:186:42: error: Null pointer dereference [nullPointer] espeakedit-1.48.15/src/options.cpp:187:42: error: Null pointer dereference [nullPointer] espeakedit-1.48.15/src/options.cpp:188:42: error: Null pointer dereference [nullPointer] espeakedit-1.48.15/src/options.cpp:196:26: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/options.cpp:194:21: style:inconclusive: Function 'ConfigSave' argument 1 names different: declaration 'end' definition 'exit'. [funcArgNamesDifferent] espeakedit-1.48.15/src/options.h:31:28: note: Function 'ConfigSave' argument 1 names different: declaration 'end' definition 'exit'. espeakedit-1.48.15/src/options.cpp:194:21: note: Function 'ConfigSave' argument 1 names different: declaration 'end' definition 'exit'. espeakedit-1.48.15/src/options.cpp:89:41: style: Parameter 'event' can be declared as reference to const [constParameterReference] 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/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:722:8: style: The scope of the variable 'pbuf' 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: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/prosodydisplay.cpp:165:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/prosodydisplay.cpp:257:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/prosodydisplay.cpp:497:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/prosodydisplay.cpp:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PEN_LIGHTGREY [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/prosodydisplay.cpp:133:17: warning: Member variable 'ProsodyDisplay::numph' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/prosodydisplay.cpp:133:17: warning: Member variable 'ProsodyDisplay::phlist' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/prosodydisplay.cpp:133:17: warning: Member variable 'ProsodyDisplay::num_lines' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/prosodydisplay.cpp:133:17: warning: Member variable 'ProsodyDisplay::linetab' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/prosodydisplay.cpp:232:8: style: Condition 'p==NULL' is always false [knownConditionTrueFalse] espeakedit-1.48.15/src/prosodydisplay.cpp:255:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] espeakedit-1.48.15/src/prosodydisplay.cpp:117:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] espeakedit-1.48.15/src/prosodydisplay.cpp:108:9: error: Common realloc mistake: 'manifest' nulled but not freed upon failure [memleakOnRealloc] espeakedit-1.48.15/src/prosodydisplay.cpp:108:21: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/prosodydisplay.cpp:119:21: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/prosodydisplay.cpp:706:38: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/prosodydisplay.cpp:66:9: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:87:9: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:157:11: style: The scope of the variable 'string' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:327:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:328:6: style: The scope of the variable 'xpos' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:447:7: style: The scope of the variable 'pitch' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:450:7: style: The scope of the variable 'x' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:450:9: style: The scope of the variable 'y' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:508:7: style: The scope of the variable 'width' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:509:7: style: The scope of the variable 'width2' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:513:16: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:613:6: style: The scope of the variable 'vX' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:613:9: style: The scope of the variable 'vY' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:613:12: style: The scope of the variable 'vW' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:613:15: style: The scope of the variable 'vH' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:615:12: style: The scope of the variable 'start' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:615:19: style: The scope of the variable 'end' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:650:6: style: The scope of the variable 'w' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:653:16: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:696:6: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:696:10: style: The scope of the variable 'npages' can be reduced. [variableScope] espeakedit-1.48.15/src/prosodydisplay.cpp:646:47: style:inconclusive: Function 'LayoutData' argument 1 names different: declaration 'phlist' definition 'ph_list'. [funcArgNamesDifferent] espeakedit-1.48.15/src/prosodydisplay.h:25:33: note: Function 'LayoutData' argument 1 names different: declaration 'phlist' definition 'ph_list'. espeakedit-1.48.15/src/prosodydisplay.cpp:646:47: note: Function 'LayoutData' argument 1 names different: declaration 'phlist' definition 'ph_list'. espeakedit-1.48.15/src/prosodydisplay.cpp:288:45: style: Parameter 'event' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/prosodydisplay.cpp:220:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/prosodydisplay.cpp:452:17: style: Variable 'env' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/prosodydisplay.cpp:495:41: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/setlengths.cpp:937:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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/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: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/sonic.cpp:69:13: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] espeakedit-1.48.15/src/sonic.cpp:68:15: note: Assuming allocation function fails espeakedit-1.48.15/src/sonic.cpp:68:15: note: Assignment 'file=fopen("/tmp/sonic.log","a")', assigned value is 0 espeakedit-1.48.15/src/sonic.cpp:69:13: note: Null pointer dereference espeakedit-1.48.15/src/sonic.cpp:70:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] espeakedit-1.48.15/src/sonic.cpp:68:15: note: Assuming allocation function fails espeakedit-1.48.15/src/sonic.cpp:68:15: note: Assignment 'file=fopen("/tmp/sonic.log","a")', assigned value is 0 espeakedit-1.48.15/src/sonic.cpp:70:12: note: Null pointer dereference espeakedit-1.48.15/src/sonic.cpp:66:14: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/sonic.cpp:66:30: 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:783:2: style: Variable 'newSamples' is assigned an expression that holds the same value. [redundantAssignment] espeakedit-1.48.15/src/sonic.cpp:777:21: note: newSamples is assigned 'period' here. espeakedit-1.48.15/src/sonic.cpp:783:2: note: Variable 'newSamples' is assigned an expression that holds the same value. 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:250:12: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] 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:291:20: 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:368:12: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/sonic.cpp:426:12: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] 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:314:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/speak_lib.cpp:394:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/speak_lib.cpp:781:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/speak_lib.cpp:1179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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/spect.cpp:444:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spect.cpp:551:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PEN_GREEN [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spect.cpp:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FONT_SWISS [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spectdisplay.cpp:180:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spectdisplay.cpp:371:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSAVE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spectdisplay.cpp:412:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSAVE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spectdisplay.cpp:486:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/spectdisplay.cpp:977:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxOPEN [valueFlowBailoutIncompleteVar] 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/spectdisplay.cpp:483:12: warning: Either the condition 'id>=300' is redundant or the array 'key[12]' is accessed at index 98, which is out of bounds. [arrayIndexOutOfBoundsCond] espeakedit-1.48.15/src/spectdisplay.cpp:474:8: note: Assuming that condition 'id>=300' is not redundant espeakedit-1.48.15/src/spectdisplay.cpp:483:12: note: Array index out of bounds espeakedit-1.48.15/src/spectdisplay.cpp:1046:21: warning: Return value of function menu_spectdisplay->AppendSeparator() is not used. [ignoredReturnValue] espeakedit-1.48.15/src/spectdisplay.cpp:436:20: performance:inconclusive: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. [functionStatic] espeakedit-1.48.15/src/spect.h:262:8: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. espeakedit-1.48.15/src/spectdisplay.cpp:436:20: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. espeakedit-1.48.15/src/spectdisplay.cpp:388:15: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/spectdisplay.cpp:105:6: style: The scope of the variable 'vX' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:105:9: style: The scope of the variable 'vY' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:105:12: style: The scope of the variable 'vW' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:105:15: style: The scope of the variable 'vH' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:469:14: style: The scope of the variable 'sf' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:507:6: style: The scope of the variable 'keyfr' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:912:7: style: The scope of the variable 'ix' can be reduced. [variableScope] espeakedit-1.48.15/src/spectdisplay.cpp:260:6: style: Local variable 'frame_x' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/options.h:43:12: note: Shadowed declaration espeakedit-1.48.15/src/spectdisplay.cpp:260:6: note: Shadow variable espeakedit-1.48.15/src/spectdisplay.cpp:260:15: style: Local variable 'frame_y' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/options.h:43:21: note: Shadowed declaration espeakedit-1.48.15/src/spectdisplay.cpp:260:15: note: Shadow variable espeakedit-1.48.15/src/spectdisplay.cpp:318:14: style: Local variable 'frame' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/spectdisplay.cpp:42:17: note: Shadowed declaration espeakedit-1.48.15/src/spectdisplay.cpp:318:14: note: Shadow variable espeakedit-1.48.15/src/spectdisplay.cpp:911:7: style: Local variable 'frame' shadows outer variable [shadowVariable] espeakedit-1.48.15/src/spectdisplay.cpp:42:17: note: Shadowed declaration espeakedit-1.48.15/src/spectdisplay.cpp:911:7: note: Shadow variable espeakedit-1.48.15/src/spectdisplay.cpp:436:56: performance: Function parameter 'pitchenv' should be passed by const reference. [passedByValue] espeakedit-1.48.15/src/spectdisplay.cpp:403:48: style: Parameter 'pitch' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/spectdisplay.cpp:464:43: style: Parameter 'event' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/spectdisplay.cpp:964:43: style: Parameter 'event' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/spectdisplay.cpp:177:28: style: Parameter 't' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/spectdisplay.cpp:317:17: style: Variable 'zoomtab' can be declared as const array [constVariable] espeakedit-1.48.15/src/spectdisplay.cpp:470:13: style: Variable 'key' can be declared as const array [constVariable] espeakedit-1.48.15/src/spectdisplay.cpp:513:15: style: Variable 'pk_inc1' can be declared as const array [constVariable] espeakedit-1.48.15/src/spectdisplay.cpp:514:15: style: Variable 'pk_inc2' can be declared as const array [constVariable] espeakedit-1.48.15/src/spectdisplay.cpp:62:13: style: Unused variable: filename [unusedVariable] espeakedit-1.48.15/src/spectdisplay.cpp:99:11: style: Unused variable: region [unusedVariable] espeakedit-1.48.15/src/spectseq.cpp:644:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRUSH_WHITE [valueFlowBailoutIncompleteVar] 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/spectseq.cpp:1099:18: 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/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/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/spectseq.cpp:176:15: style:inconclusive: Technically the member function 'SpectSeq::CountSelected' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:195:7: note: Technically the member function 'SpectSeq::CountSelected' can be const. espeakedit-1.48.15/src/spectseq.cpp:176:15: note: Technically the member function 'SpectSeq::CountSelected' can be const. espeakedit-1.48.15/src/spectseq.cpp:310:17: style:inconclusive: Technically the member function 'SpectSeq::GetFrameLength' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:199:8: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:310:17: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:331:17: style:inconclusive: Technically the member function 'SpectSeq::GetKeyedLength' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:200:8: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:331:17: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:588:16: style:inconclusive: Technically the member function 'SpectSeq::ConstructVowel' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:202:7: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. espeakedit-1.48.15/src/spectseq.cpp:588:16: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. espeakedit-1.48.15/src/spectseq.cpp:904:16: style:inconclusive: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. [functionConst] 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:904:16: 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: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/spectseq.cpp:361:11: style: Unused variable: string [unusedVariable] 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: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:209:14: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] 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/synthdata.cpp:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/synthdata.cpp:381:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/synthdata.cpp:533:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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:122:53: 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:124:43: 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:128:33: 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:70: style: Parameter 'fmt_params' 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:599:45: style: Parameter 'plist' can be declared as pointer to const [constParameterPointer] espeakedit-1.48.15/src/synthdata.cpp:615:90: style: Parameter 'p_prog' can be declared as pointer to const [constParameterPointer] 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/synthesize.cpp:541:12: style: Condition 'frame2!=NULL' is always true [knownConditionTrueFalse] espeakedit-1.48.15/src/synthesize.cpp:1267:9: warning: If memory allocation fails, then there is a possible null pointer dereference: v2 [nullPointerOutOfMemory] espeakedit-1.48.15/src/synthesize.cpp:1266:24: note: Assuming allocation function fails espeakedit-1.48.15/src/synthesize.cpp:1266:7: note: Assignment 'v2=(struct voice_t*)malloc(sizeof(struct voice_t))', assigned value is 0 espeakedit-1.48.15/src/synthesize.cpp:1267:9: note: Null pointer dereference 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: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:645:14: style: Variable 'vcolouring' can be declared as const array [constVariable] 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/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/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:540:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:804:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/dictionary.cpp:805:8: style: Variable 'w' can be declared as pointer to const [constVariablePointer] 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] espeakedit-1.48.15/src/transldlg.cpp:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:153:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSAVE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:175:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:199:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:295:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxDefaultValidator [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:331:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxOPEN [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:366:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:484:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvUTF8 [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/transldlg.cpp:519:32: warning: Either the condition 'f_trans!=NULL' is redundant or there is possible null pointer dereference: f_trans. [nullPointerRedundantCheck] espeakedit-1.48.15/src/transldlg.cpp:524:15: note: Assuming that condition 'f_trans!=NULL' is not redundant espeakedit-1.48.15/src/transldlg.cpp:519:32: note: Null pointer dereference espeakedit-1.48.15/src/transldlg.cpp:240:6: style: The scope of the variable 'result' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:355:8: style: The scope of the variable 'p' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:356:7: style: The scope of the variable 'vname' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:408:7: style: The scope of the variable 'phon_out' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:409:14: style: The scope of the variable 'phon_out2' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:411:6: style: The scope of the variable 'clause_count' can be reduced. [variableScope] espeakedit-1.48.15/src/transldlg.cpp:238:37: style:inconclusive: Function 'MakeWave2' argument 2 names different: declaration 'n_ph' definition 'n_phonemes'. [funcArgNamesDifferent] espeakedit-1.48.15/src/synthesize.h:524:37: note: Function 'MakeWave2' argument 2 names different: declaration 'n_ph' definition 'n_phonemes'. espeakedit-1.48.15/src/transldlg.cpp:238:37: note: Function 'MakeWave2' argument 2 names different: declaration 'n_ph' definition 'n_phonemes'. espeakedit-1.48.15/src/transldlg.cpp:166:23: style: Variable 'wave_hdr' can be declared as const array [constVariable] espeakedit-1.48.15/src/transldlg.cpp:241:8: style: Variable 'fname_speech' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/transldlg.cpp:405:8: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/transldlg.cpp:232:10: error: Uninitialized variable: wav_outbuf [uninitvar] espeakedit-1.48.15/src/voicedlg.cpp:100:11: warning: Member variable 'VoiceDlg::pitchenv' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/voicedlg.cpp:100:11: warning: Member variable 'VoiceDlg::vd_load' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/voicedlg.cpp:100:11: warning: Member variable 'VoiceDlg::vd_save' is not initialized in the constructor. [uninitMemberVar] espeakedit-1.48.15/src/voicedlg.cpp:171:42: style: Parameter 'event' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/voicedlg.cpp:260:36: style: Parameter 'event' can be declared as reference to const [constParameterReference] espeakedit-1.48.15/src/voicedlg.cpp:105:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voicedlg.cpp:238:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] espeakedit-1.48.15/src/voicedlg.cpp:108:14: style: Variable 'v' is assigned a value that is never used. [unreadVariable] espeakedit-1.48.15/src/vowelchart.cpp:216:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxFILE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/vowelchart.cpp:283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/vowelchart.cpp:353:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRUSH_WHITE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/vowelchart.cpp:593:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/vowelchart.cpp:694:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BRUSH_WHITE [valueFlowBailoutIncompleteVar] espeakedit-1.48.15/src/voices.cpp:848:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 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:630:45: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:630:65: style: C-style pointer casting [cstyleCast] espeakedit-1.48.15/src/vowelchart.cpp:630:127: 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:154:42: performance: Function parameter 'name' should be passed by const reference. [passedByValue] 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/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:1950:73: 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:1958:79: 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/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: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: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: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:843:7: style: The scope of the variable 'end_phonemes2' 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/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:381:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:381:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:384:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:384:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:385:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:385:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:394:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:394:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:395:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:395:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:396:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:396:2: note: Null pointer dereference espeakedit-1.48.15/src/voices.cpp:397:2: warning: If memory allocation fails, then there is a possible null pointer dereference: voice_data [nullPointerOutOfMemory] espeakedit-1.48.15/src/voices.cpp:376:20: note: Assuming allocation function fails espeakedit-1.48.15/src/voices.cpp:376:6: note: Assignment 'p=(char*)calloc(sizeof(struct espeak_VOICE)+langix+strlen(fname)+strlen(vname)+3,1)', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:377:15: note: Assignment 'voice_data=(struct espeak_VOICE*)p', assigned value is 0 espeakedit-1.48.15/src/voices.cpp:397:2: note: Null pointer dereference 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] diff: head espeakedit-1.48.15/src/compiledata.cpp:1824:55: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/compiledata.cpp:1830:53: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/compiledata.cpp:781:46: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/compiledata.cpp:923:50: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/compiledict.cpp:1546:45: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/compiledict.cpp:1868:51: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/extras.cpp:1633:43: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/extras.cpp:1758:54: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/sonic.cpp:66:30: style: C-style pointer casting [cstyleCast] 2.17.0 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). 2.17.0 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. 2.17.0 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. 2.17.0 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. 2.17.0 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. 2.17.0 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. 2.17.0 espeakedit-1.48.15/src/spect.h:262:8: performance:inconclusive: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. [functionStatic] espeakedit-1.48.15/src/spectdisplay.cpp:436:20: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. espeakedit-1.48.15/src/spect.h:262:8: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. head espeakedit-1.48.15/src/spectdisplay.cpp:436:20: performance:inconclusive: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. [functionStatic] espeakedit-1.48.15/src/spect.h:262:8: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. espeakedit-1.48.15/src/spectdisplay.cpp:436:20: note: Either there is a missing 'override', or the member function 'SpectDisplay::PlayChild' can be static. head espeakedit-1.48.15/src/spectseq.cpp:1099:18: 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/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/spectseq.cpp:1099:18: note: Technically the member function 'SpectFrame::MakeHtab' can be static (but you may consider moving to unnamed namespace). head espeakedit-1.48.15/src/spectseq.cpp:176:15: style:inconclusive: Technically the member function 'SpectSeq::CountSelected' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:195:7: note: Technically the member function 'SpectSeq::CountSelected' can be const. espeakedit-1.48.15/src/spectseq.cpp:176:15: note: Technically the member function 'SpectSeq::CountSelected' can be const. head espeakedit-1.48.15/src/spectseq.cpp:310:17: style:inconclusive: Technically the member function 'SpectSeq::GetFrameLength' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:199:8: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:310:17: note: Technically the member function 'SpectSeq::GetFrameLength' can be const. head espeakedit-1.48.15/src/spectseq.cpp:331:17: style:inconclusive: Technically the member function 'SpectSeq::GetKeyedLength' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:200:8: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. espeakedit-1.48.15/src/spectseq.cpp:331:17: note: Technically the member function 'SpectSeq::GetKeyedLength' can be const. head espeakedit-1.48.15/src/spectseq.cpp:588:16: style:inconclusive: Technically the member function 'SpectSeq::ConstructVowel' can be const. [functionConst] espeakedit-1.48.15/src/spect.h:202:7: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. espeakedit-1.48.15/src/spectseq.cpp:588:16: note: Technically the member function 'SpectSeq::ConstructVowel' can be const. head espeakedit-1.48.15/src/spectseq.cpp:904:16: style:inconclusive: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. [functionConst] 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:904:16: note: Technically the member function 'SpectSeq::ApplyAmp_adjust' can be const. head espeakedit-1.48.15/src/synthdata.cpp:122:53: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/synthdata.cpp:124:43: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/synthdata.cpp:128:33: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/synthesize.cpp:541:12: style: Condition 'frame2!=NULL' is always true [knownConditionTrueFalse] head espeakedit-1.48.15/src/vowelchart.cpp:630:127: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/vowelchart.cpp:630:45: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/vowelchart.cpp:630:65: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/wavegen.cpp:1950:73: style: C-style pointer casting [cstyleCast] head espeakedit-1.48.15/src/wavegen.cpp:1958:79: style: C-style pointer casting [cstyleCast] DONE