2024-04-18 03:24 ftp://ftp.de.debian.org/debian/pool/main/libm/libmatio/libmatio_1.5.26.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 154 90 elapsed-time: 19.1 20.1 head-timing-info: old-timing-info: head results: matio-1.5.26/getopt/getopt_long.c:225:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] matio-1.5.26/getopt/getopt_long.c:392:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] matio-1.5.26/src/io.c:129:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] matio-1.5.26/src/io.c:518:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/io.c:125:34: style: Parameter 'message' can be declared as pointer to const. However it seems that 'mat_logfunc' is a callback function, if 'message' is declared with const you might also need to cast function pointer(s). [constParameterCallback] matio-1.5.26/src/io.c:447:16: note: You might need to cast the function pointer here matio-1.5.26/src/io.c:125:34: note: Parameter 'message' can be declared as pointer to const matio-1.5.26/src/io.c:66:5: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] matio-1.5.26/src/io.c:67:43: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] matio-1.5.26/src/io.c:68:5: error: va_list 'ap2' used before va_start() was called. [va_list_usedBeforeStarted] matio-1.5.26/src/mat4.c:392:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat4.c:917:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/matvar_cell.c:81:40: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/matvar_cell.c:81:52: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/matvar_cell.c:81:65: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat5.c:208:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat5.c:767:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat5.c:1932:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat5.c:3142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat5.c:5162:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat.c:419:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATIO_MAJOR_VERSION [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat.c:916:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat.c:1261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat.c:1346:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_FT_DEFAULT [valueFlowBailoutIncompleteVar] matio-1.5.26/src/mat4.c:175:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] matio-1.5.26/src/mat4.c:203:38: style: Variable 'complex_data' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat4.c:132:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat4.c:135:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat4.c:138:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat4.c:141:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat4.c:144:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat4.c:147:20: style: Variable 'x.type' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/matvar_struct.c:46:57: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/matvar_struct.c:350:42: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/matvar_struct.c:350:54: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/matvar_struct.c:350:67: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/snprintf.c:813:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:99:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:120:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:141:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:162:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:177:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int8_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:192:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint8_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:90:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:111:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:153:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int8_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data_impl.h:189:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint8_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/read_data.c:385:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] matio-1.5.26/src/snprintf.c:832:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] matio-1.5.26/src/snprintf.c:1364:27: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/snprintf.c:1372:12: warning: Uninitialized variable: dst [uninitvar] matio-1.5.26/src/snprintf.c:1383:5: note: Calling function 'mymemcpy', 1st argument '&aq' value is matio-1.5.26/src/snprintf.c:1372:12: note: Uninitialized variable: dst matio-1.5.26/src/snprintf.c:1383:5: error: va_list 'aq' used before va_start() was called. [va_list_usedBeforeStarted] matio-1.5.26/src/snprintf.c:1385:42: error: va_list 'aq' used before va_start() was called. [va_list_usedBeforeStarted] matio-1.5.26/src/mat5.c:3536:28: style: Variable 'nBytes' is reassigned a value before the old one has been used. [redundantAssignment] matio-1.5.26/src/mat5.c:3474:32: note: nBytes is assigned matio-1.5.26/src/mat5.c:3536:28: note: nBytes is overwritten matio-1.5.26/src/mat5.c:3536:28: style: Variable 'nBytes' is reassigned a value before the old one has been used. [redundantAssignment] matio-1.5.26/src/mat5.c:3484:32: note: nBytes is assigned matio-1.5.26/src/mat5.c:3536:28: note: nBytes is overwritten matio-1.5.26/src/mat5.c:143:23: style: Variable 'fieldname' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat5.c:206:27: style: Variable 'sparse' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat5.c:478:34: style: Parameter 'matvar' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat5.c:907:29: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat5.c:2683:73: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat5.c:1332:22: style: Variable 'name_len' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat5.c:2028:20: style: Variable 'nBytes' is assigned a value that is never used. [unreadVariable] matio-1.5.26/tools/matdump.c:172:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] matio-1.5.26/tools/matdump.c:228:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] matio-1.5.26/tools/matdump.c:335:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] matio-1.5.26/tools/matdump.c:827:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATIO_MAJOR_VERSION [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:725:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:762:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_LOGICAL [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:806:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDWR [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:987:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1204:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1270:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1294:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1319:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1338:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1442:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1545:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_DOUBLE [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1716:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Re [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:1984:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_LOGICAL [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2047:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_DOUBLE [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2202:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Re [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2368:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2446:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2548:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2595:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2656:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2697:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2767:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2834:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2869:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:2915:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3394:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3425:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3448:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3579:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3746:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDWR [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3763:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] matio-1.5.26/test/test_mat.c:3811:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_C_DOUBLE [valueFlowBailoutIncompleteVar] matio-1.5.26/tools/matdump.c:107:33: style: Parameter 'close' can be declared as pointer to const [constParameterPointer] matio-1.5.26/tools/matdump.c:120:35: style: Parameter 'close' can be declared as pointer to const [constParameterPointer] matio-1.5.26/tools/matdump.c:122:17: style: Variable 'valptr' can be declared as pointer to const [constVariablePointer] matio-1.5.26/tools/matdump.c:217:46: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] matio-1.5.26/tools/matdump.c:567:42: style: Parameter 'message' can be declared as pointer to const. However it seems that 'default_printf_func' is a callback function, if 'message' is declared with const you might also need to cast function pointer(s). [constParameterCallback] matio-1.5.26/tools/matdump.c:833:32: note: You might need to cast the function pointer here matio-1.5.26/tools/matdump.c:567:42: note: Parameter 'message' can be declared as pointer to const matio-1.5.26/tools/matdump.c:577:51: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] matio-1.5.26/tools/matdump.c:311:20: style: Variable 'i' is assigned a value that is never used. [unreadVariable] matio-1.5.26/src/mat.c:2070:18: style: Condition 'err' is always false [knownConditionTrueFalse] matio-1.5.26/src/mat.c:2069:22: note: Calling function 'Mul' returns 0 matio-1.5.26/src/mat.c:2069:22: note: Assignment 'err=Mul(&bytes,nelems,overhead)', assigned value is 0 matio-1.5.26/src/mat.c:2070:18: note: Condition 'err' is always false matio-1.5.26/src/mat.c:120:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:725:30: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:741:24: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:757:22: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:773:23: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1046:23: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1207:57: style: Variable 'complex_data_in' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat.c:1642:42: style: Variable 'in_data' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat.c:1666:38: style: Variable 'in_data' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat.c:1860:40: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1860:51: style: Parameter 'subs' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1903:44: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1903:58: style: Parameter 'subs' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1946:35: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:1988:39: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:2087:23: style: Variable 'sparse' can be declared as pointer to const [constVariablePointer] matio-1.5.26/src/mat.c:2842:25: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:2867:25: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/mat.c:2964:42: style: Parameter 'matvar' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:499:33: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:499:44: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:499:56: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:499:69: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:930:23: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:930:34: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:930:46: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] matio-1.5.26/src/read_data.c:930:59: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] matio-1.5.26/test/test_mat.c:2505:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] matio-1.5.26/test/test_mat.c:2517:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] matio-1.5.26/test/test_mat.c:2528:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] matio-1.5.26/test/test_mat.c:3389:23: style: Same expression on both sides of '/'. [duplicateExpression] matio-1.5.26/test/test_mat.c:3381:20: note: 'zero' is assigned value '0.0' here. matio-1.5.26/test/test_mat.c:3389:23: note: Same expression on both sides of '/'. matio-1.5.26/test/test_mat.c:2934:80: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:2934:88: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:2971:80: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:2971:88: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3144:80: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3144:88: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3181:80: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3181:88: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3218:88: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3219:32: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3255:88: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3256:32: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3293:32: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3293:40: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:3330:32: error: Uninitialized variable: ptr [uninitvar] matio-1.5.26/test/test_mat.c:3330:40: error: Uninitialized variable: pti [uninitvar] matio-1.5.26/test/test_mat.c:4194:14: style: Variable 'k' is assigned a value that is never used. [unreadVariable] diff: head matio-1.5.26/getopt/getopt_long.c:392:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/io.c:518:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat.c:1261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat.c:1346:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_FT_DEFAULT [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat.c:773:23: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/mat.c:916:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat4.c:917:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat5.c:1932:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat5.c:3142:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat5.c:5162:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/mat5.c:767:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/matvar_cell.c:81:65: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/matvar_struct.c:350:67: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/read_data.c:385:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data.c:499:69: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/read_data.c:930:46: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/read_data.c:930:59: style: Parameter 'edge' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/src/read_data_impl.h:111:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:120:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:141:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:153:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:162:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint16_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int8_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:177:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int8_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:189:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint8_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:192:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_uint8_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/read_data_impl.h:90:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mat_int32_t [valueFlowBailoutIncompleteVar] head matio-1.5.26/src/snprintf.c:1372:12: warning: Uninitialized variable: dst [uninitvar] matio-1.5.26/src/snprintf.c:1383:5: note: Calling function 'mymemcpy', 1st argument '&aq' value is matio-1.5.26/src/snprintf.c:1372:12: note: Uninitialized variable: dst head matio-1.5.26/test/test_mat.c:1204:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1270:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1294:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1319:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1338:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1442:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1545:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_DOUBLE [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1716:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Re [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:1984:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_LOGICAL [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2047:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_DOUBLE [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2202:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Re [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2368:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2446:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2548:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2595:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2656:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2697:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2767:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2834:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2869:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:2915:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3394:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3425:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_DONT_COPY_DATA [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3448:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3579:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3746:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDWR [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3763:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDONLY [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:3811:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_C_DOUBLE [valueFlowBailoutIncompleteVar] 2.13.0 matio-1.5.26/test/test_mat.c:718:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:725:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:762:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_F_LOGICAL [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:806:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_ACC_RDWR [valueFlowBailoutIncompleteVar] head matio-1.5.26/test/test_mat.c:987:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAT_T_UNKNOWN [valueFlowBailoutIncompleteVar] head matio-1.5.26/tools/matdump.c:217:46: style: Parameter 'stride' can be declared as pointer to const [constParameterPointer] head matio-1.5.26/tools/matdump.c:228:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head matio-1.5.26/tools/matdump.c:335:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head matio-1.5.26/tools/matdump.c:827:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATIO_MAJOR_VERSION [valueFlowBailoutIncompleteVar] DONE