2026-05-01 17:04 ftp://ftp.de.debian.org/debian/pool/main/e/easyh10/easyh10_1.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 229 226 elapsed-time: 0.5 0.4 head-timing-info: old-timing-info: head results: easyh10-1.5/common/easyh10_dump.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:108:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:122:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:134:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:177:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:183:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:217:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:242:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHCHAR [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:260:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_template.c:56:25: style:inconclusive: Function 'easyh10_generate_template' argument 10 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] easyh10-1.5/common/easyh10_template.c:107:25: style:inconclusive: Function 'easyh10_get_modelenv' argument 5 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] easyh10-1.5/common/easyh10_template.c:37:42: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_template.c:119:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_template.c:37:42: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_template.c:37:84: style: Parameter 'param_ptr' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'param_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_template.c:119:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_template.c:37:84: note: Parameter 'param_ptr' can be declared as pointer to const easyh10-1.5/common/easyh10_template.c:42:40: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_template.c:122:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_template.c:42:40: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_template.c:42:66: style: Parameter 'param' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_template.c:122:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_template.c:42:66: note: Parameter 'param' can be declared as pointer to const easyh10-1.5/common/easyh10_tuner.c:200:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EASYH10_WARNING_TUNER_TOOMANYENTRIES [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_tuner.c:350:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_tuner.c:451:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/regex_playlist_posix.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:65:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable playlist_entry_t [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:254:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] easyh10-1.5/common/playlist.c:288:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable order [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:228:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:286:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:515:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_playlist.c:657:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/filepathutil_posix.c:134:16: style: Unsigned expression 'length' can't be negative so it is unnecessary to test it. [unsignedPositive] easyh10-1.5/common/filepathutil_posix.c:40:102: style:inconclusive: Function 'find_file' argument 4 names different: declaration '' definition 'instance'. [funcArgNamesDifferentUnnamed] easyh10-1.5/common/filepathutil_posix.c:263:50: style:inconclusive: Function 'filepathutil_is_same_root' argument 1 names different: declaration 'path1' definition 'path'. [funcArgNamesDifferent] easyh10-1.5/common/filepathutil.h:70:50: note: Function 'filepathutil_is_same_root' argument 1 names different: declaration 'path1' definition 'path'. easyh10-1.5/common/filepathutil_posix.c:263:50: note: Function 'filepathutil_is_same_root' argument 1 names different: declaration 'path1' definition 'path'. easyh10-1.5/common/filepathutil_posix.c:263:75: style:inconclusive: Function 'filepathutil_is_same_root' argument 2 names different: declaration 'path2' definition 'root'. [funcArgNamesDifferent] easyh10-1.5/common/filepathutil.h:70:76: note: Function 'filepathutil_is_same_root' argument 2 names different: declaration 'path2' definition 'root'. easyh10-1.5/common/filepathutil_posix.c:263:75: note: Function 'filepathutil_is_same_root' argument 2 names different: declaration 'path2' definition 'root'. easyh10-1.5/common/filepathutil_posix.c:108:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/common/filepathutil_posix.c:189:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/common/filepathutil_posix.c:226:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/common/filepathutil_posix.c:82:17: style: Unused variable: st [unusedVariable] easyh10-1.5/common/filepathutil_posix.c:270:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/common/filepathutil_posix.c:271:14: style: Unused variable: st1 [unusedVariable] easyh10-1.5/common/filepathutil_posix.c:272:14: style: Unused variable: st2 [unusedVariable] easyh10-1.5/common/easyh10_database.c:440:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable artist [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_database.c:487:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_FLAG_INCREMENTAL [valueFlowBailoutIncompleteVar] easyh10-1.5/common/easyh10_database.c:601:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/common/rel2abs.c:70:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] easyh10-1.5/common/regex_playlist_posix.c:65:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rep [nullPointerOutOfMemory] easyh10-1.5/common/regex_playlist_posix.c:64:32: note: Assuming allocation function fails easyh10-1.5/common/regex_playlist_posix.c:64:32: note: Assignment 'rep=malloc(sizeof(struct regex_playlist_t))', assigned value is 0 easyh10-1.5/common/regex_playlist_posix.c:65:9: note: Null pointer dereference easyh10-1.5/common/regex_playlist_posix.c:62:45: style:inconclusive: Function 'regex_playlist_init' argument 1 names different: declaration 'rep' definition 'ptr_rep'. [funcArgNamesDifferent] easyh10-1.5/common/regex_playlist.h:34:45: note: Function 'regex_playlist_init' argument 1 names different: declaration 'rep' definition 'ptr_rep'. easyh10-1.5/common/regex_playlist_posix.c:62:45: note: Function 'regex_playlist_init' argument 1 names different: declaration 'rep' definition 'ptr_rep'. easyh10-1.5/common/regex_playlist_posix.c:103:7: style: Variable 'is_utf8' is assigned a value that is never used. [unreadVariable] easyh10-1.5/common/playlist.c:255:17: style: Local variable 'filename' shadows outer argument [shadowArgument] easyh10-1.5/common/playlist.c:236:59: note: Shadowed declaration easyh10-1.5/common/playlist.c:255:17: note: Shadow variable easyh10-1.5/libgetmediainfo/getmediainfo.c:70:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/getmediainfo.c:263:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/getopt.c:673:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:231:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:374:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:549:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:564:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:574:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:636:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EASYH10_PLAYLIST_INCREMENTAL [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/getmediainfo.c:64:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] easyh10-1.5/libgetmediainfo/getmediainfo.c:257:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] easyh10-1.5/libgetmediainfo/getmediainfo.c:217:16: style: Checking if unsigned expression 'max_order' is less than zero. [unsignedLessThanZero] easyh10-1.5/libgetmediainfo/getmediainfo.c:240:17: style: Checking if unsigned expression 'max_number' is less than zero. [unsignedLessThanZero] easyh10-1.5/common/easyh10_tuner.c:375:10: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] easyh10-1.5/common/easyh10_tuner.c:374:20: note: Calling function 'import_tuner' returns 0 easyh10-1.5/common/easyh10_tuner.c:374:20: note: Assignment 'ret=import_tuner(&tuner,fpi,instance,error_proc)', assigned value is 0 easyh10-1.5/common/easyh10_tuner.c:375:10: note: Condition 'ret!=0' is always false easyh10-1.5/common/easyh10_tuner.c:499:11: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] easyh10-1.5/common/easyh10_tuner.c:480:10: note: Assuming that condition 'ret!=0' is not redundant easyh10-1.5/common/easyh10_tuner.c:495:7: note: Assuming condition is false easyh10-1.5/common/easyh10_tuner.c:499:11: note: Condition 'ret!=0' is always false easyh10-1.5/common/easyh10_tuner.c:524:10: style: Condition 'ret!=0' is always false [knownConditionTrueFalse] easyh10-1.5/common/easyh10_tuner.c:523:20: note: Calling function 'export_tuner' returns 0 easyh10-1.5/common/easyh10_tuner.c:523:20: note: Assignment 'ret=export_tuner(&tuner,fpo)', assigned value is 0 easyh10-1.5/common/easyh10_tuner.c:524:10: note: Condition 'ret!=0' is always false easyh10-1.5/common/easyh10_tuner.c:241:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] easyh10-1.5/common/easyh10_tuner.c:179:5: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] easyh10-1.5/common/easyh10_tuner.c:329:42: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_tuner.c:455:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_tuner.c:329:42: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_tuner.c:329:84: style: Parameter 'param_ptr' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'param_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_tuner.c:455:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_tuner.c:329:84: note: Parameter 'param_ptr' can be declared as pointer to const easyh10-1.5/common/easyh10_tuner.c:334:40: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_tuner.c:460:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_tuner.c:334:40: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_tuner.c:334:66: style: Parameter 'param' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_tuner.c:460:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_tuner.c:334:66: note: Parameter 'param' can be declared as pointer to const easyh10-1.5/common/easyh10_tuner.c:179:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] easyh10-1.5/common/easyh10_tuner.c:304:16: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:278:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID3_FIELD_TEXTENCODING_ISO_8859_1 [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:323:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/gmi_wav.c:256:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/main.c:566:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] easyh10-1.5/cui/main.c:576:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] easyh10-1.5/cui/main.c:850:29: style: Condition 'set_encoding(optarg)!=0' is always true [knownConditionTrueFalse] easyh10-1.5/cui/main.c:850:20: note: Calling function 'set_encoding' returns 1 easyh10-1.5/cui/main.c:850:29: note: Condition 'set_encoding(optarg)!=0' is always true easyh10-1.5/cui/main.c:858:35: style: Condition 'set_encoding_music(optarg)!=0' is always true [knownConditionTrueFalse] easyh10-1.5/cui/main.c:858:26: note: Calling function 'set_encoding_music' returns 1 easyh10-1.5/cui/main.c:858:35: note: Condition 'set_encoding_music(optarg)!=0' is always true easyh10-1.5/cui/main.c:900:31: style: Condition 'set_encoding(encoding)!=0' is always true [knownConditionTrueFalse] easyh10-1.5/cui/main.c:900:20: note: Calling function 'set_encoding' returns 1 easyh10-1.5/cui/main.c:900:31: note: Condition 'set_encoding(encoding)!=0' is always true easyh10-1.5/cui/main.c:1051:7: style: Condition 'playlist_extension' is always true [knownConditionTrueFalse] easyh10-1.5/cui/main.c:1111:3: warning: fprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] easyh10-1.5/common/easyh10_playlist.c:577:25: style:inconclusive: Function 'easyh10_playlist' argument 8 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] easyh10-1.5/common/easyh10_playlist.c:559:42: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_playlist.c:592:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_playlist.c:559:42: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_playlist.c:559:84: style: Parameter 'param_ptr' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'param_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_playlist.c:592:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_playlist.c:559:84: note: Parameter 'param_ptr' can be declared as pointer to const easyh10-1.5/common/easyh10_playlist.c:564:40: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_playlist.c:597:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_playlist.c:564:40: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_playlist.c:564:66: style: Parameter 'param' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_playlist.c:597:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_playlist.c:564:66: note: Parameter 'param' can be declared as pointer to const easyh10-1.5/common/easyh10_playlist.c:583:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libgetmediainfo/gmi_wav.c:87:11: style: The comparison 'pos < 0' is always false. [knownConditionTrueFalse] easyh10-1.5/libgetmediainfo/gmi_wav.c:85:14: note: 'pos' is assigned value '0' here. easyh10-1.5/libgetmediainfo/gmi_wav.c:87:11: note: The comparison 'pos < 0' is always false. easyh10-1.5/libgetmediainfo/gmi_wav.c:174:11: style: The comparison 'pos < 0' is always false. [knownConditionTrueFalse] easyh10-1.5/libgetmediainfo/gmi_wav.c:173:14: note: 'pos' is assigned value '0' here. easyh10-1.5/libgetmediainfo/gmi_wav.c:174:11: note: The comparison 'pos < 0' is always false. easyh10-1.5/common/easyh10_playlist.c:256:38: warning: Uninitialized variable: j [uninitvar] easyh10-1.5/common/easyh10_playlist.c:249:21: note: Assuming condition is false easyh10-1.5/common/easyh10_playlist.c:256:38: note: Uninitialized variable: j easyh10-1.5/libgetmediainfo/gmi_wav.c:50:10: style: Variable 'v' is not assigned a value. [unassignedVariable] easyh10-1.5/libgetmediainfo/gmi_wav.c:58:10: style: Variable 'v' is not assigned a value. [unassignedVariable] easyh10-1.5/common/easyh10_playlist.c:368:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] easyh10-1.5/common/easyh10_playlist.c:583:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable] easyh10-1.5/cui/main.c:214:10: style: Local variable 'mbs' shadows outer variable [shadowVariable] easyh10-1.5/cui/main.c:168:7: note: Shadowed declaration easyh10-1.5/cui/main.c:214:10: note: Shadow variable easyh10-1.5/cui/main.c:221:10: style: Local variable 'mbs' shadows outer variable [shadowVariable] easyh10-1.5/cui/main.c:168:7: note: Shadowed declaration easyh10-1.5/cui/main.c:221:10: note: Shadow variable easyh10-1.5/cui/main.c:647:8: style: Variable 'fpi' can be declared as pointer to const [constVariablePointer] easyh10-1.5/cui/main.c:1066:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] easyh10-1.5/cui/main.c:647:8: style: Variable 'fpi' is assigned a value that is never used. [unreadVariable] easyh10-1.5/cui/main.c:684:7: style: Variable 'this_option_optind' is assigned a value that is never used. [unreadVariable] easyh10-1.5/cui/main.c:1067:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libgetmediainfo/gmi_wma.c:105:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/gmi_wma.c:301:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/gmi_wma.c:499:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:73:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:44:6: style: struct member 'tag_mp3header::protection' is never used. [unusedStructMember] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:168:22: style: Variable 'id3v2_size' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:207:6: style: Variable 'channels' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:485:16: style: Variable 'channels' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libgetmediainfo/gmi_mp3_id3tag.c:326:11: style: Variable 'tn' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/crc.c:126:29: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] easyh10-1.5/libh10db/crc.c:187:29: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] easyh10-1.5/libh10db/bufferedfile.c:222:16: style: Checking if unsigned expression 'remaining' is less than zero. [unsignedLessThanZero] easyh10-1.5/libh10db/bufferedfile.c:248:28: style: Parameter 'bfp' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/bufferedfile.c:263:26: style: Parameter 'bfp' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/h10db_dat.c:126:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_NUM_DAT_FIELDS [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_dat.c:313:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_DAT_FIELDOFFSET [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_dat.c:356:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_DAT_WRITE [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_hdr.c:80:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_PATHLENGTH [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_hdr.c:123:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_field_offsets_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_hdr.c:149:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_PATHLENGTH [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_hdr.c:239:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_NUM_DAT_FIELDS [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_hdr.c:162:12: style: Local variable 'i' shadows outer variable [shadowVariable] easyh10-1.5/libh10db/h10db_hdr.c:139:6: note: Shadowed declaration easyh10-1.5/libh10db/h10db_hdr.c:162:12: note: Shadow variable easyh10-1.5/libh10db/h10db_hdr.c:168:12: style: Local variable 'i' shadows outer variable [shadowVariable] easyh10-1.5/libh10db/h10db_hdr.c:139:6: note: Shadowed declaration easyh10-1.5/libh10db/h10db_hdr.c:168:12: note: Shadow variable easyh10-1.5/libh10db/h10db_dat.c:69:22: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] easyh10-1.5/libh10db/h10db_dat.c:69:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] easyh10-1.5/libh10db/h10db_dat.c:244:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] easyh10-1.5/libh10db/h10db_dat.c:323:3: error: Common realloc mistake: 'array' nulled but not freed upon failure [memleakOnRealloc] easyh10-1.5/libh10db/h10db_dat.c:307:84: warning: Either the condition 'hdr' is redundant or there is possible null pointer dereference: hdr. [nullPointerRedundantCheck] easyh10-1.5/libh10db/h10db_dat.c:296:7: note: Assuming that condition 'hdr' is not redundant easyh10-1.5/libh10db/h10db_dat.c:307:84: note: Null pointer dereference easyh10-1.5/libh10db/h10db_dat.c:354:100: warning: Either the condition 'hdr' is redundant or there is possible null pointer dereference: hdr. [nullPointerRedundantCheck] easyh10-1.5/libh10db/h10db_dat.c:351:7: note: Assuming that condition 'hdr' is not redundant easyh10-1.5/libh10db/h10db_dat.c:354:100: note: Null pointer dereference easyh10-1.5/libh10db/h10db_dat.c:60:17: style: Same expression on both sides of '-'. [duplicateExpression] easyh10-1.5/libh10db/h10db_idx.c:75:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_IDX_READ [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_idx.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_IDX_WRITE [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_idx.c:78:3: error: Common realloc mistake: 'array' nulled but not freed upon failure [memleakOnRealloc] easyh10-1.5/libh10db/h10db_model.c:52:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_MODEL_READ [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_model.c:95:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_FIRMWARE_UNMASK [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_model.c:109:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_CAPACITY_UNMASK [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_model.c:123:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_FIRMWARE_UNMASK [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_model.c:163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DBE_MODEL_READ [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_upd.c:90:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_upd_entry_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_upd.c:121:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db_upd.c:161:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_upd_entry_t [valueFlowBailoutIncompleteVar] easyh10-1.5/cui/getopt.c:768:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libh10db/h10db_model.c:93:48: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/h10db_model.c:107:51: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/h10db_model.c:121:53: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/h10db_model.c:176:22: style: Variable 'chunk_size' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/h10db.c:150:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:242:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_idx_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:269:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:278:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:383:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:527:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_PROGRESS_READ_TEMPLATE [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:695:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_PROGRESS_WRITE_TEMPLATE [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:722:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_PROGRESS_UPDATE_START [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:809:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h10db_dat_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:821:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H10DB_FLAG_INCREMENTAL [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:1101:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_length [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/serialize.c:123:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/serialize.c:159:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:178:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:190:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:198:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:206:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:214:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char_iconv.c:222:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/serialize.c:153:21: style: Variable 'null' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libucs2/ucs2char_iconv.c:88:2: warning:inconclusive: The buffer 'g_encoding' may not be null-terminated after the call to strncpy(). [terminateStrncpy] easyh10-1.5/libucs2/ucs2char_iconv.c:89:2: warning:inconclusive: The buffer 'g_ucs2encoding' may not be null-terminated after the call to strncpy(). [terminateStrncpy] easyh10-1.5/libucs2/ucs2char_iconv.c:95:2: warning:inconclusive: The buffer 'g_encoding_music' may not be null-terminated after the call to strncpy(). [terminateStrncpy] easyh10-1.5/libucs2/ucs2char_iconv.c:96:2: warning:inconclusive: The buffer 'g_ucs2encoding' may not be null-terminated after the call to strncpy(). [terminateStrncpy] easyh10-1.5/libucs2/ucs2char_iconv.c:81:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] easyh10-1.5/libucs2/ucs2char_iconv.c:67:13: style: Return value '*p==0x12' is always false [knownConditionTrueFalse] easyh10-1.5/libucs2/ucs2char_iconv.c:65:18: note: Assignment 'c=0x1234', assigned value is 4660 easyh10-1.5/libucs2/ucs2char_iconv.c:67:13: note: Return value '*p==0x12' is always false easyh10-1.5/libucs2/ucs2char_iconv.c:74:21: style: Condition 'is_bigendian()' is always false [knownConditionTrueFalse] easyh10-1.5/libucs2/ucs2char_iconv.c:65:18: note: Assignment 'c=0x1234', assigned value is 4660 easyh10-1.5/libucs2/ucs2char_iconv.c:74:21: note: Calling function 'is_bigendian' returns 0 easyh10-1.5/libucs2/ucs2char_iconv.c:74:21: note: Condition 'is_bigendian()' is always false easyh10-1.5/libucs2/ucs2char_iconv.c:138:19: style: Condition 'is_bigendian()' is always false [knownConditionTrueFalse] easyh10-1.5/libucs2/ucs2char_iconv.c:65:18: note: Assignment 'c=0x1234', assigned value is 4660 easyh10-1.5/libucs2/ucs2char_iconv.c:138:19: note: Calling function 'is_bigendian' returns 0 easyh10-1.5/libucs2/ucs2char_iconv.c:138:19: note: Condition 'is_bigendian()' is always false easyh10-1.5/libucs2/ucs2char_iconv.c:57:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] easyh10-1.5/libgetmediainfo/gmi_wma.c:316:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libucs2/ucs2char_iconv.c:66:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libucs2/ucs2char_iconv.c:259:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libucs2/ucs2char_iconv.c:276:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libucs2/ucs2char_iconv.c:293:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libucs2/ucs2char_iconv.c:310:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libucs2/ucs2char_iconv.c:311:14: style: Unused variable: st [unusedVariable] easyh10-1.5/libucs2/ucs2char.c:141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:190:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:202:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:284:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:293:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:303:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libucs2/ucs2char.c:313:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucs2_char_t [valueFlowBailoutIncompleteVar] easyh10-1.5/libh10db/h10db.c:468:18: style: Variable 'h10db_idx' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libh10db/h10db.c:637:42: style: Parameter 'h10db' can be declared as pointer to const [constParameterPointer] easyh10-1.5/libh10db/h10db.c:729:17: style: Variable 'dat' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libh10db/h10db.c:148:7: style: Variable 'crc' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/h10db.c:468:18: style: Variable 'h10db_idx' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/h10db.c:644:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/h10db.c:693:11: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] easyh10-1.5/libh10db/h10db.c:729:17: style: Variable 'dat' is assigned a value that is never used. [unreadVariable] easyh10-1.5/common/easyh10_database.c:471:8: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:844:28: note: Calling function 'allocate_ordinal_numbers', 1st argument 'array' value is 0 easyh10-1.5/common/easyh10_database.c:471:8: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:841:4: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:841:4: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:842:4: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:842:4: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:846:55: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:846:55: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:846:69: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:846:69: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:847:28: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:847:28: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:853:4: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:853:4: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:854:4: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:854:4: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:858:55: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:858:55: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:858:69: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:858:69: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:859:27: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:859:27: note: Null pointer dereference easyh10-1.5/common/easyh10_database.c:514:25: style:inconclusive: Function 'easyh10_database' argument 9 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] easyh10-1.5/common/easyh10_database.c:810:9: style: Local variable 'j' shadows outer variable [shadowVariable] easyh10-1.5/common/easyh10_database.c:517:9: note: Shadowed declaration easyh10-1.5/common/easyh10_database.c:810:9: note: Shadow variable easyh10-1.5/common/easyh10_database.c:817:9: style: Local variable 'j' shadows outer variable [shadowVariable] easyh10-1.5/common/easyh10_database.c:517:9: note: Shadowed declaration easyh10-1.5/common/easyh10_database.c:817:9: note: Shadow variable easyh10-1.5/common/easyh10_database.c:496:42: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_database.c:524:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_database.c:496:42: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_database.c:496:84: style: Parameter 'param_ptr' can be declared as pointer to const. However it seems that 'dummy_progress_callback' is a callback function, if 'param_ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_database.c:524:19: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_database.c:496:84: note: Parameter 'param_ptr' can be declared as pointer to const easyh10-1.5/common/easyh10_database.c:501:40: style: Parameter 'instance' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'instance' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_database.c:529:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_database.c:501:40: note: Parameter 'instance' can be declared as pointer to const easyh10-1.5/common/easyh10_database.c:501:66: style: Parameter 'param' can be declared as pointer to const. However it seems that 'dummy_error_callback' is a callback function, if 'param' is declared with const you might also need to cast function pointer(s). [constParameterCallback] easyh10-1.5/common/easyh10_database.c:529:16: note: You might need to cast the function pointer here easyh10-1.5/common/easyh10_database.c:501:66: note: Parameter 'param' can be declared as pointer to const easyh10-1.5/libucs2/ucs2char.c:284:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] easyh10-1.5/libucs2/ucs2char.c:374:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] easyh10-1.5/libucs2/ucs2char.c:373:14: style: Unused variable: temp [unusedVariable] diff: 2.20.0 easyh10-1.5/common/easyh10_database.c:477:3: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:844:28: note: Calling function 'allocate_ordinal_numbers', 1st argument 'array' value is 0 easyh10-1.5/common/easyh10_database.c:477:3: note: Null pointer dereference 2.20.0 easyh10-1.5/common/easyh10_database.c:478:14: warning: If memory allocation fails, then there is a possible null pointer dereference: array [nullPointerOutOfMemory] easyh10-1.5/common/easyh10_database.c:837:56: note: Assuming allocation function fails easyh10-1.5/common/easyh10_database.c:837:30: note: Assignment 'array=(struct ordinal_element_t*)malloc(sizeof(struct ordinal_element_t)*num)', assigned value is 0 easyh10-1.5/common/easyh10_database.c:844:28: note: Calling function 'allocate_ordinal_numbers', 1st argument 'array' value is 0 easyh10-1.5/common/easyh10_database.c:478:14: note: Null pointer dereference head easyh10-1.5/common/easyh10_database.c:514:25: style:inconclusive: Function 'easyh10_database' argument 9 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] head easyh10-1.5/common/easyh10_playlist.c:577:25: style:inconclusive: Function 'easyh10_playlist' argument 8 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] head easyh10-1.5/common/easyh10_template.c:107:25: style:inconclusive: Function 'easyh10_get_modelenv' argument 5 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] head easyh10-1.5/common/easyh10_template.c:56:25: style:inconclusive: Function 'easyh10_generate_template' argument 10 names different: declaration '' definition 'error_proc'. [funcArgNamesDifferentUnnamed] head easyh10-1.5/common/filepathutil_posix.c:40:102: style:inconclusive: Function 'find_file' argument 4 names different: declaration '' definition 'instance'. [funcArgNamesDifferentUnnamed] DONE