2024-04-15 03:38 ftp://ftp.de.debian.org/debian/pool/main/c/cc1541/cc1541_4.2.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 127 99 elapsed-time: 42.8 79.4 head-timing-info: old-timing-info: head results: cc1541-4.2/cc1541.c:619:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:674:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:825:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:834:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:930:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1322:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1397:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1433:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1615:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1895:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1998:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:2183:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:2370:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:2638:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:2939:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:3231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4479:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4519:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4560:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4694:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4736:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:4867:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/cc1541.c:1776:57: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1776:57: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1777:16: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1777:16: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1778:13: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1778:13: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1779:34: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1779:34: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1781:32: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1781:32: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1782:29: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1782:29: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:1784:14: error: Using pointer to local variable 'existing_files' that is out of scope. [invalidLifetime] cc1541-4.2/cc1541.c:1768:17: note: Array decayed to pointer here. cc1541-4.2/cc1541.c:1687:19: note: Variable created here. cc1541-4.2/cc1541.c:1784:14: note: Using pointer to local variable 'existing_files' that is out of scope. cc1541-4.2/cc1541.c:2566:42: error: Array 'semiencoded[31]' accessed at index -1, which is out of bounds. [negativeIndex] cc1541-4.2/cc1541.c:2564:23: note: Assuming that condition 'i<0x1f' is not redundant cc1541-4.2/cc1541.c:2565:64: note: Assignment 'shuffle=(0x1f-1)-(i/2)-((i&1)?((0x1f/2)+1):0)', assigned value is -1 cc1541-4.2/cc1541.c:2566:42: note: Negative array index cc1541-4.2/cc1541.c:604:17: style: Array index 'pos' is used before limits check. [arrayIndexThenCheck] cc1541-4.2/cc1541.c:627:17: style: Array index 'len' is used before limits check. [arrayIndexThenCheck] cc1541-4.2/cc1541.c:639:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:651:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:2939:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:2965:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:2989:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:2997:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:4630:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:4633:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:4636:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:4640:25: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cc1541-4.2/cc1541.c:3588:27: style: Variable 'lastTrack' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/cc1541.c:3572:31: note: lastTrack is assigned cc1541-4.2/cc1541.c:3588:27: note: lastTrack is overwritten cc1541-4.2/cc1541.c:3589:28: style: Variable 'lastSector' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/cc1541.c:3573:32: note: lastSector is assigned cc1541-4.2/cc1541.c:3589:28: note: lastSector is overwritten cc1541-4.2/cc1541.c:3590:28: style: Variable 'lastOffset' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/cc1541.c:3574:32: note: lastOffset is assigned cc1541-4.2/cc1541.c:3590:28: note: lastOffset is overwritten cc1541-4.2/cc1541.c:4402:37: style: Variable 'atab[b]' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/cc1541.c:4397:41: note: atab[b] is assigned cc1541-4.2/cc1541.c:4402:37: note: atab[b] is overwritten cc1541-4.2/cc1541.c:2760:19: style: Checking if unsigned expression 'track' is less than zero. [unsignedLessThanZero] cc1541-4.2/cc1541.c:4095:14: style: Checking if unsigned expression 'track' is less than zero. [unsignedLessThanZero] cc1541-4.2/cc1541.c:1110:22: style: Local variable 'bam' shadows outer variable [shadowVariable] cc1541-4.2/cc1541.c:1084:18: note: Shadowed declaration cc1541-4.2/cc1541.c:1110:22: note: Shadow variable cc1541-4.2/cc1541.c:2700:18: style: Local variable 'i' shadows outer variable [shadowVariable] cc1541-4.2/cc1541.c:2696:14: note: Shadowed declaration cc1541-4.2/cc1541.c:2700:18: note: Shadow variable cc1541-4.2/cc1541.c:2740:21: style: Local variable 'filesize' shadows outer argument [shadowArgument] cc1541-4.2/cc1541.c:2714:108: note: Shadowed declaration cc1541-4.2/cc1541.c:2740:21: note: Shadow variable cc1541-4.2/cc1541.c:2765:25: style: Local variable 'filesize' shadows outer argument [shadowArgument] cc1541-4.2/cc1541.c:2714:108: note: Shadowed declaration cc1541-4.2/cc1541.c:2765:25: note: Shadow variable cc1541-4.2/cc1541.c:3416:42: style: Local variable 's' shadows outer variable [shadowVariable] cc1541-4.2/cc1541.c:3372:30: note: Shadowed declaration cc1541-4.2/cc1541.c:3416:42: note: Shadow variable cc1541-4.2/cc1541.c:3643:26: style: Local variable 'i' shadows outer variable [shadowVariable] cc1541-4.2/cc1541.c:3267:14: note: Shadowed declaration cc1541-4.2/cc1541.c:3643:26: note: Shadow variable cc1541-4.2/cc1541.c:3761:24: style: Local variable 'sector' shadows outer variable [shadowVariable] cc1541-4.2/cc1541.c:3216:19: note: Shadowed declaration cc1541-4.2/cc1541.c:3761:24: note: Shadow variable cc1541-4.2/cc1541.c:3907:13: style: Local variable 'num_sectors' shadows outer function [shadowFunction] cc1541-4.2/cc1541.c:475:1: note: Shadowed declaration cc1541-4.2/cc1541.c:3907:13: note: Shadow variable cc1541-4.2/cc1541.c:822:30: style: Parameter 'petscii' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:831:34: style: Parameter 'pfilename' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:857:43: style: Parameter 'pfilename' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:1082:72: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:1082:95: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:1082:114: style: Parameter 'bam_message' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:1477:74: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:2252:26: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:3064:91: style: Parameter 'order' can be declared as const array [constParameter] cc1541-4.2/cc1541.c:3134:63: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:3703:20: style: Variable 'file' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:3791:32: style: Variable 'other_file' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4075:46: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:4093:51: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:4112:55: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:4192:57: style: Parameter 'atab' can be declared as pointer to const [constParameterPointer] cc1541-4.2/cc1541.c:4543:28: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4656:24: style: Variable 'bitmap' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4748:28: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4785:40: style: Variable 'block' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4813:11: style: Variable 'filename_g64' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4828:20: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:4856:11: style: Variable 'unicode_env' can be declared as pointer to const [constVariablePointer] cc1541-4.2/cc1541.c:2739:17: warning: Uninitialized variable: free_tracks [uninitvar] cc1541-4.2/cc1541.c:2726:36: note: Assuming condition is false cc1541-4.2/cc1541.c:2739:17: note: Uninitialized variable: free_tracks cc1541-4.2/cc1541.c:4044:19: style: Variable 'marker_pos' is assigned a value that is never used. [unreadVariable] cc1541-4.2/test_cc1541.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/test_cc1541.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/test_cc1541.c:140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cc1541-4.2/test_cc1541.c:102:9: error: Resource leak: f [resourceLeak] cc1541-4.2/test_cc1541.c:1274:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1268:16: note: result is assigned cc1541-4.2/test_cc1541.c:1274:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1293:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1288:16: note: result is assigned cc1541-4.2/test_cc1541.c:1293:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1312:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1307:16: note: result is assigned cc1541-4.2/test_cc1541.c:1312:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1331:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1326:16: note: result is assigned cc1541-4.2/test_cc1541.c:1331:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1350:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1345:16: note: result is assigned cc1541-4.2/test_cc1541.c:1350:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1371:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1364:16: note: result is assigned cc1541-4.2/test_cc1541.c:1371:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1399:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1385:16: note: result is assigned cc1541-4.2/test_cc1541.c:1399:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1418:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1413:16: note: result is assigned cc1541-4.2/test_cc1541.c:1418:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1438:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1432:16: note: result is assigned cc1541-4.2/test_cc1541.c:1438:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1457:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1452:16: note: result is assigned cc1541-4.2/test_cc1541.c:1457:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1476:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1469:16: note: result is assigned cc1541-4.2/test_cc1541.c:1476:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1499:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1490:16: note: result is assigned cc1541-4.2/test_cc1541.c:1499:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1521:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1513:16: note: result is assigned cc1541-4.2/test_cc1541.c:1521:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1544:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1535:16: note: result is assigned cc1541-4.2/test_cc1541.c:1544:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1566:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1558:16: note: result is assigned cc1541-4.2/test_cc1541.c:1566:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1589:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1580:16: note: result is assigned cc1541-4.2/test_cc1541.c:1589:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1610:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1603:16: note: result is assigned cc1541-4.2/test_cc1541.c:1610:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1630:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1624:16: note: result is assigned cc1541-4.2/test_cc1541.c:1630:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1650:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1644:16: note: result is assigned cc1541-4.2/test_cc1541.c:1650:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1670:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1664:16: note: result is assigned cc1541-4.2/test_cc1541.c:1670:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1693:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1685:16: note: result is assigned cc1541-4.2/test_cc1541.c:1693:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1716:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1708:16: note: result is assigned cc1541-4.2/test_cc1541.c:1716:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1739:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1730:16: note: result is assigned cc1541-4.2/test_cc1541.c:1739:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1761:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1753:16: note: result is assigned cc1541-4.2/test_cc1541.c:1761:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1784:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1775:16: note: result is assigned cc1541-4.2/test_cc1541.c:1784:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1805:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1798:16: note: result is assigned cc1541-4.2/test_cc1541.c:1805:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1827:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1820:16: note: result is assigned cc1541-4.2/test_cc1541.c:1827:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1849:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1842:16: note: result is assigned cc1541-4.2/test_cc1541.c:1849:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1872:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1863:16: note: result is assigned cc1541-4.2/test_cc1541.c:1872:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1892:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1886:16: note: result is assigned cc1541-4.2/test_cc1541.c:1892:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1910:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1904:16: note: result is assigned cc1541-4.2/test_cc1541.c:1910:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1928:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1922:16: note: result is assigned cc1541-4.2/test_cc1541.c:1928:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1945:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1940:16: note: result is assigned cc1541-4.2/test_cc1541.c:1945:16: note: result is overwritten cc1541-4.2/test_cc1541.c:1962:16: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] cc1541-4.2/test_cc1541.c:1957:16: note: result is assigned cc1541-4.2/test_cc1541.c:1962:16: note: result is overwritten cc1541-4.2/test_cc1541.c:120:49: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/test_cc1541.c:152:23: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] cc1541-4.2/test_cc1541.c:171:11: style: Variable 'description' can be declared as pointer to const [constVariablePointer] diff: head cc1541-4.2/cc1541.c:1322:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1397:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1433:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1615:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1895:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:1998:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:2183:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:2370:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:2638:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:2939:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:3231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4479:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4519:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4560:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4694:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4736:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:4867:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:674:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:825:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:834:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cc1541-4.2/cc1541.c:930:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/test_cc1541.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cc1541-4.2/test_cc1541.c:140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE