2024-04-28 13:46 ftp://ftp.de.debian.org/debian/pool/main/s/sane-backends/sane-backends_1.2.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=libcurl --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 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 1b37807 (2024-04-27 23:14:11 +0200) count: 3789 3770 elapsed-time: 1665.8 1762.9 head-timing-info: old-timing-info: head results: backends-1.2.1/backend/abaton.c:847:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/agfafocus.c:1277:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/apple.c:1863:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/artec.c:2574:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/artec_eplus48u.c:3405:3: error: syntax error [syntaxError] backends-1.2.1/backend/as6e.c:129:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/avision.c:8483:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/bh.c:3148:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/canon-sane.c:4:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_dev [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_devices [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:148:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_dev [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_EJECT_BEFOREEXIT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:284:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_OPTIONS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:307:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable option_name [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1035:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_BR_X [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FB1200 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1666:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1714:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1808:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1912:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:2131:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FRAME_RGB [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:2159:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FB1200 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:2186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_UNSUPPORTED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:2198:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_UNSUPPORTED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-sane.c:1403:12: style: Variable 'buf_size' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/canon-sane.c:1394:12: note: buf_size is assigned backends-1.2.1/backend/canon-sane.c:1403:12: note: buf_size is overwritten backends-1.2.1/backend/canon-sane.c:1405:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/canon-sane.c:1402:12: note: status is assigned backends-1.2.1/backend/canon-sane.c:1405:10: note: status is overwritten backends-1.2.1/backend/canon-sane.c:1297:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/canon-sane.c:1301:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/canon-sane.c:1297:8: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/canon-sane.c:281:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:1107:9: style: Variable 'mode_str' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:1790:20: style: Variable 'red' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:1790:26: style: Variable 'green' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:1790:34: style: Variable 'blue' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:1897:27: style: Variable 'secondimage' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon-sane.c:2193:28: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon-sane.c:410:13: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/canon-sane.c:445:8: style: Variable 'val' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/canon-sane.c:1741:19: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/canon-sane.c:1757:19: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/canon-scsi.c:373:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPARENCY_UNIT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-scsi.c:663:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-scsi.c:682:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-scsi.c:726:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon-scsi.c:361:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon-sane.c:2:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/canon630u-common.c:115:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:223:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:287:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:306:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:356:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:383:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:502:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:560:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:879:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1003:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_DEVICE_BUSY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1460:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1497:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1574:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1591:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:1635:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon630u-common.c:364:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon630u-common.c:769:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon630u-common.c:928:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon630u-common.c:574:2: error: Memory leak: buf [memleak] backends-1.2.1/backend/canon630u-common.c:942:11: style: Local variable 'fd' shadows outer variable [shadowVariable] backends-1.2.1/backend/canon630u-common.c:732:7: note: Shadowed declaration backends-1.2.1/backend/canon630u-common.c:942:11: note: Shadow variable backends-1.2.1/backend/canon630u.c:708:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/canon_dr.c:507:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/canon_lide70-common.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:2132:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_resolution [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:2285:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:2753:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:2906:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3019:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3067:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_resolution [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3236:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:3302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_lide70-common.c:120:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:154:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:188:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1596:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1598:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1734:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1736:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1872:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:1874:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:2011:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:2013:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:2320:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:2737:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_lide70-common.c:2822:10: style: Redundant initialization for 'srcptr'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/canon_lide70-common.c:2767:16: note: srcptr is initialized backends-1.2.1/backend/canon_lide70-common.c:2822:10: note: srcptr is overwritten backends-1.2.1/backend/canon_lide70-common.c:267:42: style: Parameter 'chndl' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_lide70-common.c:279:55: style: Parameter 'chndl' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_lide70-common.c:2325:27: style: Parameter 'chndl' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_lide70-common.c:2392:27: style: Parameter 'chndl' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_lide70-common.c:2769:9: style: Variable 'endptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/canon_lide70-common.c:3209:39: style: Parameter 'chndl' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_lide70-common.c:79:17: style: struct member 'CANON_Handle::value_90' is never used. [unusedStructMember] backends-1.2.1/backend/canon_lide70-common.c:80:7: style: struct member 'CANON_Handle::resolution' is never used. [unusedStructMember] backends-1.2.1/backend/canon_lide70-common.c:2980:8: style: Variable 'width' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/canon_lide70.c:213:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/canon_pp-dev.c:233:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:253:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:304:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:359:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:479:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:622:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:866:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:955:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:1316:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E1284_OK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-dev.c:1049:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-dev.c:1352:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-dev.c:1049:9: error: Invalid usleep() argument nr 1. The value is 15000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/canon_pp-dev.c:993:22: error: Memory leak: image.image_data [memleak] backends-1.2.1/backend/canon_pp-dev.c:600:31: style:inconclusive: Function 'sanei_canon_pp_read_segment' argument 4 names different: declaration 'scanline_count' definition 'scanline_number'. [funcArgNamesDifferent] backends-1.2.1/backend/canon_pp-dev.h:162:31: note: Function 'sanei_canon_pp_read_segment' argument 4 names different: declaration 'scanline_count' definition 'scanline_number'. backends-1.2.1/backend/canon_pp-dev.c:600:31: note: Function 'sanei_canon_pp_read_segment' argument 4 names different: declaration 'scanline_count' definition 'scanline_number'. backends-1.2.1/backend/canon_pp-dev.c:739:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_pp-dev.c:750:37: style: Parameter 'srcbuffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_pp-dev.c:1192:73: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_pp-dev.c:1193:20: style: Parameter 'scanp' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/canon_pp-io.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:225:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:256:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:359:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:388:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:562:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:598:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/canon_pp-io.c:176:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:178:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:202:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:460:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:462:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:464:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:466:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:485:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:487:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:489:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:496:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:498:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:500:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:535:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:544:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:599:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/canon_pp-io.c:202:10: error: Invalid usleep() argument nr 1. The value is 10000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/canon_pp-io.c:552:53: style:inconclusive: Function 'expect' argument 2 names different: declaration 'step' definition 'msg'. [funcArgNamesDifferent] backends-1.2.1/backend/canon_pp-io.c:108:53: note: Function 'expect' argument 2 names different: declaration 'step' definition 'msg'. backends-1.2.1/backend/canon_pp-io.c:552:53: note: Function 'expect' argument 2 names different: declaration 'step' definition 'msg'. backends-1.2.1/include/sane/sanei_debug.h:134:1: error: There is an unknown macro here somewhere. Configuration is required. If PASTE is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/cardscan.c:272:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/include/sane/sanei_debug.h:139:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan.c:3242:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan.c:4095:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan.c:4128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan.c:4173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan-scsidef.h:63:57: style:inconclusive: Boolean expression '!val' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] backends-1.2.1/backend/coolscan.c:287:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/coolscan.c:1156:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] backends-1.2.1/backend/coolscan.c:1456:18: style: Condition '*firstbyte==255' is always true [knownConditionTrueFalse] backends-1.2.1/backend/coolscan.c:1453:24: note: Assignment 'testvalue=255', assigned value is 255 backends-1.2.1/backend/coolscan.c:1456:18: note: Condition '*firstbyte==255' is always true backends-1.2.1/backend/coolscan.c:772:7: style: Variable 'buffer_r[0x19]' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:768:2: note: buffer_r[0x19] is assigned backends-1.2.1/backend/coolscan.c:772:7: note: buffer_r[0x19] is overwritten backends-1.2.1/backend/coolscan.c:772:7: style: Variable 'buffer_r[0x19]' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:770:2: note: buffer_r[0x19] is assigned backends-1.2.1/backend/coolscan.c:772:7: note: buffer_r[0x19] is overwritten backends-1.2.1/backend/coolscan.c:848:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:847:9: note: ret is assigned backends-1.2.1/backend/coolscan.c:848:9: note: ret is overwritten backends-1.2.1/backend/coolscan.c:1000:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:999:9: note: ret is assigned backends-1.2.1/backend/coolscan.c:1000:9: note: ret is overwritten backends-1.2.1/backend/coolscan.c:1001:9: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:1000:9: note: ret is assigned backends-1.2.1/backend/coolscan.c:1001:9: note: ret is overwritten backends-1.2.1/backend/coolscan.c:1501:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan.c:1497:5: note: r is assigned backends-1.2.1/backend/coolscan.c:1501:5: note: r is overwritten backends-1.2.1/backend/coolscan.c:2204:11: style: Redundant initialization for 'irmulr'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/coolscan.c:2197:14: note: irmulr is initialized backends-1.2.1/backend/coolscan.c:2204:11: note: irmulr is overwritten backends-1.2.1/backend/coolscan.c:2205:11: style: Redundant initialization for 'irmulg'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/coolscan.c:2198:14: note: irmulg is initialized backends-1.2.1/backend/coolscan.c:2205:11: note: irmulg is overwritten backends-1.2.1/backend/coolscan.c:2206:11: style: Redundant initialization for 'irmulb'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/coolscan.c:2199:14: note: irmulb is initialized backends-1.2.1/backend/coolscan.c:2206:11: note: irmulb is overwritten backends-1.2.1/backend/coolscan.c:2207:11: style: Redundant initialization for 'irmuli'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/coolscan.c:2200:14: note: irmuli is initialized backends-1.2.1/backend/coolscan.c:2207:11: note: irmuli is overwritten backends-1.2.1/backend/coolscan.c:274:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:391:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:1132:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:1349:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:1363:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:1432:37: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:1454:18: style: Variable 'firstbyte' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan.c:1699:18: style: Variable 'inquiry_block' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan.c:2281:33: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2285:11: style: Parameter 'lutr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2286:11: style: Parameter 'lutg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2287:11: style: Parameter 'lutb' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2288:11: style: Parameter 'luti' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2291:30: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan.c:2359:31: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan.c:2405:27: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan.c:4182:15: style: Variable 'scanner' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan-scsidef.h:69:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan-scsidef.h:77:26: style: Parameter 'pnt' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan.c:2165:7: style: struct member 'Color_correct_s::sum' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2166:10: style: struct member 'Color_correct_s::sumr' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2167:10: style: struct member 'Color_correct_s::sumi' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2168:10: style: struct member 'Color_correct_s::sumri' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2169:10: style: struct member 'Color_correct_s::sumii' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2170:10: style: struct member 'Color_correct_s::sumrr' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2171:8: style: struct member 'Color_correct_s::mr' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:2172:8: style: struct member 'Color_correct_s::br' is never used. [unusedStructMember] backends-1.2.1/backend/coolscan.c:1563:7: style: Variable 'size' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/coolscan2.c:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_coolscan2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan2.c:2310:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/coolscan2.c:2597:10: warning: Identical condition and return expression 'status', return value is always 0 [identicalConditionAfterEarlyExit] backends-1.2.1/backend/coolscan2.c:2590:7: note: If condition 'status' is true, the function will return/exit backends-1.2.1/backend/coolscan2.c:2597:10: note: Returning identical expression 'status' backends-1.2.1/backend/coolscan2.c:1662:27: style: Condition 's->samples_per_scan>1' is always true [knownConditionTrueFalse] backends-1.2.1/backend/coolscan2.c:1658:28: note: Assuming that condition 's->samples_per_scan>1' is not redundant backends-1.2.1/backend/coolscan2.c:1662:27: note: Condition 's->samples_per_scan>1' is always true backends-1.2.1/backend/coolscan2.c:2259:14: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan2.c:2234:11: note: status is assigned backends-1.2.1/backend/coolscan2.c:2259:14: note: status is overwritten backends-1.2.1/backend/coolscan2.c:2259:14: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan2.c:2243:11: note: status is assigned backends-1.2.1/backend/coolscan2.c:2259:14: note: status is overwritten backends-1.2.1/backend/coolscan2.c:1725:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan2.c:1965:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan2.c:2005:42: style: Parameter 'sense_buffer' can be declared as pointer to const. However it seems that 'cs2_scsi_sense_handler' is a callback function, if 'sense_buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/coolscan2.c:1816:49: note: You might need to cast the function pointer here backends-1.2.1/backend/coolscan2.c:2005:42: note: Parameter 'sense_buffer' can be declared as pointer to const backends-1.2.1/backend/coolscan2.c:2092:33: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan2.c:2281:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan2.c:2811:16: style: Variable 'lut' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan3.c:313:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_coolscan3 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:332:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:351:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:401:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1055:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1066:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1083:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1427:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1463:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1533:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1719:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1735:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1750:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:1786:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2000:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2294:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2339:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2370:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2437:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2548:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2560:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2578:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2630:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2640:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2651:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2680:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2690:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2719:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2744:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2786:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2945:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:3001:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:3080:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:3163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:3180:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/coolscan3.c:2358:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/coolscan3.c:2358:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/coolscan3.c:3032:53: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/coolscan3.c:1431:14: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/coolscan3.c:1430:31: note: Calling function 'cs3_convert_options' returns 0 backends-1.2.1/backend/coolscan3.c:1430:31: note: Assignment 'status=cs3_convert_options(s)', assigned value is 0 backends-1.2.1/backend/coolscan3.c:1431:14: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/coolscan3.c:1479:13: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/coolscan3.c:1478:30: note: Calling function 'cs3_convert_options' returns 0 backends-1.2.1/backend/coolscan3.c:1478:30: note: Assignment 'status=cs3_convert_options(s)', assigned value is 0 backends-1.2.1/backend/coolscan3.c:1479:13: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/coolscan3.c:3103:13: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/coolscan3.c:3096:13: note: Assuming that condition 'status!=SANE_STATUS_GOOD' is not redundant backends-1.2.1/backend/coolscan3.c:3099:16: note: Assuming condition is false backends-1.2.1/backend/coolscan3.c:3103:13: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/coolscan3.c:2308:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan3.c:2277:11: note: status is assigned backends-1.2.1/backend/coolscan3.c:2308:10: note: status is overwritten backends-1.2.1/backend/coolscan3.c:2308:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan3.c:2288:11: note: status is assigned backends-1.2.1/backend/coolscan3.c:2308:10: note: status is overwritten backends-1.2.1/backend/coolscan3.c:2319:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/coolscan3.c:2308:10: note: status is assigned backends-1.2.1/backend/coolscan3.c:2319:10: note: status is overwritten backends-1.2.1/backend/coolscan3.c:1733:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan3.c:2028:41: style: Parameter 'sense_buffer' can be declared as pointer to const. However it seems that 'cs3_scsi_sense_handler' is a callback function, if 'sense_buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/coolscan3.c:1846:7: note: You might need to cast the function pointer here backends-1.2.1/backend/coolscan3.c:2028:41: note: Parameter 'sense_buffer' can be declared as pointer to const backends-1.2.1/backend/coolscan3.c:2137:32: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan3.c:2330:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/coolscan3.c:2943:15: style: Variable 'lut' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/coolscan3.c:2989:9: warning: Uninitialized variable: status [uninitvar] backends-1.2.1/backend/coolscan3.c:2947:24: note: Assuming condition is false backends-1.2.1/backend/coolscan3.c:2989:9: note: Uninitialized variable: status backends-1.2.1/include/sane/sanei_jpeg.h:53:1: error: There is an unknown macro here somewhere. Configuration is required. If EXTERN is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/dc25.c:1808:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/dell1600n_net.c:252:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/dll.c:889:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/dmc.c:809:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/epjitsu.c:276:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/epson.c:2651:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/epson2-commands.c:38:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:65:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:100:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:327:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:387:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:450:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:549:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:648:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:700:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:761:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:792:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:845:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:882:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:916:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:939:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:962:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:983:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:1004:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:1022:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-commands.c:131:26: style: Parameter 'frac' can be declared as const array [constParameter] backends-1.2.1/backend/epson2-commands.c:151:28: style: Parameter 'frac' can be declared as const array [constParameter] backends-1.2.1/backend/epson2-commands.c:192:18: style: Parameter 'org_cct' can be declared as const array [constParameter] backends-1.2.1/backend/epson2-commands.c:260:6: style: Variable 'cc_idx' can be declared as const array [constVariable] backends-1.2.1/backend/epson2-commands.c:754:16: style: Variable 'seq' can be declared as const array [constVariable] backends-1.2.1/backend/epson2-io.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:119:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:187:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:208:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:248:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:298:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:365:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:402:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-io.c:68:24: style: Local variable 's' shadows outer argument [shadowArgument] backends-1.2.1/backend/epson2-io.c:46:25: note: Shadowed declaration backends-1.2.1/backend/epson2-io.c:68:24: note: Shadow variable backends-1.2.1/backend/epson2-io.c:160:24: style: Local variable 's' shadows outer argument [shadowArgument] backends-1.2.1/backend/epson2-io.c:114:24: note: Shadowed declaration backends-1.2.1/backend/epson2-io.c:160:24: note: Shadow variable backends-1.2.1/backend/epson2-ops.c:140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:316:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:332:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:362:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:393:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Word [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:414:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:435:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:456:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:477:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:495:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:530:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:875:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1018:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1294:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1452:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1499:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1539:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1573:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1618:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1637:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1692:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1706:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FRAME_RGB [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1742:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1835:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:1899:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:2072:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2-ops.c:313:28: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epson2-ops.c:354:48: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epson2-ops.c:540:24: style: Variable 'area' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epson2-ops.c:1292:21: style: Variable 'mparam' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epson2-ops.c:1890:14: style: Variable 'data_end' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epson2-ops.c:1743:18: style: Variable 'buf_len' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/epson2.c:899:24: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/epson2_net.c:54:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:133:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:182:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:247:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson2_net.c:97:68: style:inconclusive: Function 'sanei_epson_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. [funcArgNamesDifferent] backends-1.2.1/backend/epson2_net.h:7:90: note: Function 'sanei_epson_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. backends-1.2.1/backend/epson2_net.c:97:68: note: Function 'sanei_epson_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. backends-1.2.1/backend/epson2_usb.c:196:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Word [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epson_usb.c:51:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Word [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:139:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:243:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:642:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:789:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:821:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:837:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:855:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:861:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:875:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:1125:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-cmd.c:34:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epsonds-cmd.c:270:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epsonds-cmd.c:291:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epsonds-cmd.c:640:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epsonds-cmd.c:785:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/epsonds-cmd.c:275:11: style: Variable 'tmp[len]' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/epsonds-io.c:33:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-io.c:70:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-io.c:112:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-io.c:133:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-io.c:175:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-io.c:116:7: style: Variable 'done' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/epsonds-jpeg.c:33:1: error: There is an unknown macro here somewhere. Configuration is required. If METHODDEF is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/epsonds-net.c:40:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:142:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:198:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:275:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:290:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-net.c:106:66: style:inconclusive: Function 'epsonds_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. [funcArgNamesDifferent] backends-1.2.1/backend/epsonds-net.h:9:88: note: Function 'epsonds_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. backends-1.2.1/backend/epsonds-net.c:106:66: note: Function 'epsonds_net_read' argument 3 names different: declaration 'buf_size' definition 'wanted'. backends-1.2.1/backend/epsonds-ops.c:40:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Word [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:92:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:110:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:126:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:145:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:164:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:182:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:212:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Parameters [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/epsonds-ops.c:78:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epsonds-ops.c:481:38: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/epsonds.c:1853:16: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/escl/escl.h:32:0: error: #error "The escl backend requires libcurl, libavahi and libxml2" [preprocessorErrorDirective] backends-1.2.1/backend/fujitsu.c:1873:3: error: There is an unknown macro here somewhere. Configuration is required. If IF_DBG is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/genesys/error.h:135:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/error.h:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/error.h:191:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/serialize.h:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Size [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/utilities.h:38:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/utilities.h:43:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/utilities.h:48:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/utilities.h:53:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:182:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:471:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:490:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AddressType [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/command_set_common.cpp:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/command_set_common.cpp:158:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:422:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:431:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:452:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:154:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/utilities.h:252:26: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] backends-1.2.1/backend/genesys/motor.h:129:5: warning: Member variable 'MotorProfile::slope' is not initialized in the constructor. [uninitMemberVar] backends-1.2.1/backend/genesys/row_buffer.h:64:10: style:inconclusive: Technically the member function 'genesys::RowBuffer::full' can be const. [functionConst] backends-1.2.1/backend/genesys/low.h:162:10: style:inconclusive: Technically the member function 'genesys::UsbDeviceEntry::matches' can be const. [functionConst] backends-1.2.1/backend/genesys/error.h:48:5: style: Class 'SaneException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/error.h:86:5: style: Class 'DebugMessageHelper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/register.h:219:5: style: Class 'Genesys_Register_Set' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pixel.h:64:5: style: Struct 'RawPixel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/row_buffer.h:36:5: style: Class 'RowBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pipeline.h:150:5: style: Class 'ImagePipelineNodeImageSource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pipeline.h:244:5: style: Class 'ImagePipelineNodeSwap16BitEndian' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pipeline.h:262:5: style: Class 'ImagePipelineNodeInvert' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pipeline.h:304:5: style: Class 'ImagePipelineNodeSplitMonoLines' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/image_pipeline.h:329:5: style: Class 'ImagePipelineNodeMergeColorToGray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/value_filter.h:39:5: style: Class 'ValueFilterAny < unsigned int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/value_filter.h:39:5: style: Class 'ValueFilterAny < ScanMethod >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/register.h:76:5: style: Class 'RegisterContainer < std :: uint8_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/serialize.h:36:45: style: Parameter 'str' can be declared as reference to const [constParameterReference] backends-1.2.1/backend/genesys/command_set_common.cpp:39:18: style: Variable 'settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/command_set_common.cpp:83:18: style: Variable 'settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/command_set_common.cpp:168:19: style: Variable 'settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/motor.h:164:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/motor.h:173:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/motor.h:186:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/command_set_common.cpp:57:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/command_set_common.cpp:145:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/serialize.h:86:20: error: Uninitialized variable: new_size [uninitvar] backends-1.2.1/backend/genesys/serialize.h:115:20: error: Uninitialized variable: new_size [uninitvar] backends-1.2.1/backend/genesys/enums.h:51:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:85:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:129:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:209:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:271:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:324:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/enums.h:603:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/sensor.h:106:20: error: Uninitialized variable: value [uninitvar] backends-1.2.1/backend/genesys/device.cpp:189:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/device.cpp:46:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/enums.cpp:54:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_VALUE_SCAN_MODE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/enums.cpp:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_VALUE_SCAN_MODE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/enums.cpp:347:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.h:171:5: warning: Member variable 'Genesys_Scanner::next' is not initialized in the constructor. [uninitMemberVar] backends-1.2.1/backend/genesys/genesys.h:171:5: warning: Member variable 'Genesys_Scanner::scanning' is not initialized in the constructor. [uninitMemberVar] backends-1.2.1/backend/genesys/error.cpp:136:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/error.cpp:204:11: style: Variable 'setting' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/genesys.cpp:160:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:172:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:187:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:195:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:207:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:322:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:401:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:420:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:492:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:650:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:667:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:733:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:869:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:878:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1046:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1359:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1384:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1687:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:1947:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2222:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2355:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2454:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2465:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2541:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2554:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2570:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2792:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:2972:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3047:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3133:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3187:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3495:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3534:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3578:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3707:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3820:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3839:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3924:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:3956:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4098:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4190:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4215:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4284:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4309:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4334:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4459:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4472:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word_list [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4492:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable range [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:4505:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5036:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5076:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5153:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5245:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5310:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5319:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5331:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5336:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5385:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5393:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5502:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5511:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5569:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5578:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5594:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5603:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5627:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5816:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:5841:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6109:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_ACTION_GET_VALUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6167:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6175:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6203:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6211:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6248:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6257:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6319:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6327:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6359:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6364:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6379:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6387:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/genesys.cpp:6399:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.h:32:5: style: Class 'ScannerInterfaceUsb' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] backends-1.2.1/backend/genesys/genesys.cpp:5129:53: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] backends-1.2.1/backend/genesys/genesys.cpp:5145:47: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] backends-1.2.1/backend/genesys/genesys.cpp:1229:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] backends-1.2.1/backend/genesys/genesys.cpp:1636:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] backends-1.2.1/backend/genesys/genesys.cpp:1636:18: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] backends-1.2.1/backend/genesys/genesys.cpp:2081:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] backends-1.2.1/backend/genesys/genesys.cpp:6197:27: warning: Either the condition 'params' is redundant or there is possible null pointer dereference: params. [nullPointerRedundantCheck] backends-1.2.1/backend/genesys/genesys.cpp:6183:9: note: Assuming that condition 'params' is not redundant backends-1.2.1/backend/genesys/genesys.cpp:6197:27: note: Null pointer dereference backends-1.2.1/backend/genesys/genesys.cpp:320:9: style: The scope of the variable 'value' can be reduced. [variableScope] backends-1.2.1/backend/genesys/genesys.cpp:3852:31: style: The scope of the variable 'first_line' can be reduced. [variableScope] backends-1.2.1/backend/genesys/genesys.cpp:4163:10: style: The scope of the variable 'size' can be reduced. [variableScope] backends-1.2.1/backend/genesys/genesys.cpp:4387:16: style: The scope of the variable 'i' can be reduced. [variableScope] backends-1.2.1/backend/genesys/genesys.cpp:372:57: style:inconclusive: Function 'sanei_genesys_exposure_time2' argument 5 names different: declaration 'led_exposure' definition 'exposure_by_led'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/low.h:270:57: note: Function 'sanei_genesys_exposure_time2' argument 5 names different: declaration 'led_exposure' definition 'exposure_by_led'. backends-1.2.1/backend/genesys/genesys.cpp:372:57: note: Function 'sanei_genesys_exposure_time2' argument 5 names different: declaration 'led_exposure' definition 'exposure_by_led'. backends-1.2.1/backend/genesys/genesys.cpp:5188:71: style:inconclusive: Function 'read_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/genesys.h:222:71: note: Function 'read_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. backends-1.2.1/backend/genesys/genesys.cpp:5188:71: note: Function 'read_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. backends-1.2.1/backend/genesys/genesys.cpp:5233:72: style:inconclusive: Function 'write_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/genesys.h:221:72: note: Function 'write_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. backends-1.2.1/backend/genesys/genesys.cpp:5233:72: note: Function 'write_calibration' argument 2 names different: declaration 'cache' definition 'calibration'. backends-1.2.1/backend/genesys/genesys.cpp:990:18: style: Local variable 'status' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/genesys.cpp:918:10: note: Shadowed declaration backends-1.2.1/backend/genesys/genesys.cpp:990:18: note: Shadow variable backends-1.2.1/backend/genesys/genesys.cpp:2122:26: style: Local variable 'target' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/genesys.cpp:2019:19: note: Shadowed declaration backends-1.2.1/backend/genesys/genesys.cpp:2122:26: note: Shadow variable backends-1.2.1/backend/genesys/genesys.cpp:3072:27: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/genesys.cpp:3042:19: note: Shadowed declaration backends-1.2.1/backend/genesys/genesys.cpp:3072:27: note: Shadow variable backends-1.2.1/backend/genesys/genesys.cpp:6010:28: style: Local variable 'table' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/genesys.cpp:5846:14: note: Shadowed declaration backends-1.2.1/backend/genesys/genesys.cpp:6010:28: note: Shadow variable backends-1.2.1/backend/genesys/genesys.cpp:1016:58: style: Parameter 'dev' can be declared as reference to const [constParameterReference] backends-1.2.1/backend/genesys/genesys.cpp:2475:11: style: Variable 'session' can be declared as reference to const [constVariableReference] backends-1.2.1/backend/genesys/genesys.cpp:3506:14: style: Variable 'cache' can be declared as reference to const [constVariableReference] backends-1.2.1/backend/genesys/genesys.cpp:3705:79: style: Parameter 'sensor' can be declared as reference to const [constParameterReference] backends-1.2.1/backend/genesys/genesys.cpp:5797:24: style: Variable 'cache' can be declared as reference to const [constVariableReference] backends-1.2.1/backend/genesys/genesys.cpp:203:69: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/genesys.cpp:230:62: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/genesys.cpp:335:63: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/genesys.cpp:4397:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/genesys.cpp:6177:11: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/genesys.cpp:6366:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/genesys.cpp:6388:22: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/genesys.cpp:162:56: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:223:16: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:236:16: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:252:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:261:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:269:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:284:69: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:3508:83: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:3545:86: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:4418:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:5083:39: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:5402:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/genesys.cpp:5202:20: error: Uninitialized variable: version [uninitvar] backends-1.2.1/backend/genesys/genesys.cpp:1260:27: style: Variable 'count' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/genesys/genesys.cpp:1660:31: style: Variable 'bottomavg[ch]' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/genesys/genesys.cpp:3852:41: style: Variable 'first_line' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/genesys/gl124.cpp:74:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:360:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:397:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:434:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:580:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:703:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:757:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:800:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:805:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:826:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:875:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:900:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:923:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:973:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:997:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1066:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1193:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1233:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1298:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:1325:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl124.cpp:999:19: style: The scope of the variable 'ptr' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl124.cpp:873:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl124.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:873:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:896:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl124.h:56:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:896:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:1147:66: style:inconclusive: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl124.h:40:53: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:1147:66: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl124.cpp:999:25: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/gl646.cpp:380:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:398:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:408:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:421:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_sensors [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:439:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:855:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1030:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1066:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1116:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1223:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1309:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1416:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1470:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1564:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1588:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1634:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1783:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1846:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1890:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2049:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2066:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2175:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2320:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2457:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2513:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2739:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2854:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2860:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:2938:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl646.cpp:1990:11: style: Condition '!acceptable' is always false [knownConditionTrueFalse] backends-1.2.1/backend/genesys/gl646.cpp:1988:22: note: Assignment 'acceptable=true', assigned value is 1 backends-1.2.1/backend/genesys/gl646.cpp:1990:11: note: Condition '!acceptable' is always false backends-1.2.1/backend/genesys/gl646.cpp:2398:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] backends-1.2.1/backend/genesys/gl646.cpp:1988:20: style: Variable 'acceptable' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/genesys/gl646.cpp:1969:20: note: acceptable is assigned backends-1.2.1/backend/genesys/gl646.cpp:1988:20: note: acceptable is overwritten backends-1.2.1/backend/genesys/gl646.cpp:616:14: style: Same expression used in consecutive assignments of 'forward_steps' and 'backward_steps'. [duplicateAssignExpression] backends-1.2.1/backend/genesys/gl646.cpp:617:14: note: Same expression used in consecutive assignments of 'forward_steps' and 'backward_steps'. backends-1.2.1/backend/genesys/gl646.cpp:616:14: note: Same expression used in consecutive assignments of 'forward_steps' and 'backward_steps'. backends-1.2.1/backend/genesys/gl646.cpp:1031:7: style: The scope of the variable 'i' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl646.cpp:1636:7: style: The scope of the variable 'loop' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl646.cpp:2029:34: style: The scope of the variable 'count' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl646.cpp:2178:17: style: The scope of the variable 'avg' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl646.cpp:2517:10: style: The scope of the variable 'len' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl646.cpp:436:72: style:inconclusive: Function 'init_regs_for_scan_session' argument 3 names different: declaration 'reg' definition 'regs'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.h:50:59: note: Function 'init_regs_for_scan_session' argument 3 names different: declaration 'reg' definition 'regs'. backends-1.2.1/backend/genesys/gl646.cpp:436:72: note: Function 'init_regs_for_scan_session' argument 3 names different: declaration 'reg' definition 'regs'. backends-1.2.1/backend/genesys/gl646.cpp:1562:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.h:58:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl646.cpp:1562:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl646.cpp:1621:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.h:60:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl646.cpp:1621:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl646.cpp:2455:66: style:inconclusive: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.h:44:53: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. backends-1.2.1/backend/genesys/gl646.cpp:2455:66: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. backends-1.2.1/backend/genesys/gl646.cpp:2646:70: style:inconclusive: Function 'simple_scan' argument 6 names different: declaration 'test_identifier' definition 'scan_identifier'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.cpp:51:70: note: Function 'simple_scan' argument 6 names different: declaration 'test_identifier' definition 'scan_identifier'. backends-1.2.1/backend/genesys/gl646.cpp:2646:70: note: Function 'simple_scan' argument 6 names different: declaration 'test_identifier' definition 'scan_identifier'. backends-1.2.1/backend/genesys/gl646.cpp:2737:64: style:inconclusive: Function 'update_hardware_sensors' argument 1 names different: declaration 's' definition 'session'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl646.h:77:58: note: Function 'update_hardware_sensors' argument 1 names different: declaration 's' definition 'session'. backends-1.2.1/backend/genesys/gl646.cpp:2737:64: note: Function 'update_hardware_sensors' argument 1 names different: declaration 's' definition 'session'. backends-1.2.1/backend/genesys/gl646.cpp:1751:18: style: Local variable 'status' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/gl646.cpp:1638:10: note: Shadowed declaration backends-1.2.1/backend/genesys/gl646.cpp:1751:18: note: Shadow variable backends-1.2.1/backend/genesys/gl646.cpp:2714:22: style: Local variable 'pixels_count' shadows outer variable [shadowVariable] backends-1.2.1/backend/genesys/gl646.cpp:2696:14: note: Shadowed declaration backends-1.2.1/backend/genesys/gl646.cpp:2714:22: note: Shadow variable backends-1.2.1/backend/genesys/gl646.cpp:2026:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/gl646.cpp:425:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/gl646.cpp:2299:14: style: Variable 'bottomavg' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/genesys/gl841.cpp:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:316:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:367:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:421:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:455:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:549:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:634:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:770:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:900:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:993:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1046:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1142:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1215:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1333:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1365:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1422:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1477:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1494:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1532:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1564:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1680:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:2029:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:2080:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:2086:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:2119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl841.cpp:1430:13: style: Variable 'val' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/genesys/gl841.cpp:1429:13: note: val is assigned backends-1.2.1/backend/genesys/gl841.cpp:1430:13: note: val is overwritten backends-1.2.1/backend/genesys/gl841.cpp:317:7: style: The scope of the variable 'i' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl841.cpp:518:19: style: The scope of the variable 'table' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl841.cpp:1565:7: style: The scope of the variable 'average' can be reduced. [variableScope] backends-1.2.1/backend/genesys/gl841.cpp:1420:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl841.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl841.cpp:1420:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl841.cpp:2027:66: style:inconclusive: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl841.h:40:53: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. backends-1.2.1/backend/genesys/gl841.cpp:2027:66: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'local_reg'. backends-1.2.1/backend/genesys/gl841.cpp:2166:27: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/gl842.cpp:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:279:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:532:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:579:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:641:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:647:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:653:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:659:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:665:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:674:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:740:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:759:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:838:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:885:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:934:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:943:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:984:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:991:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:997:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:1012:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl842.cpp:434:9: style: Condition 'use_shdarea' is always true [knownConditionTrueFalse] backends-1.2.1/backend/genesys/gl842.cpp:432:24: note: Assignment 'use_shdarea=true', assigned value is 1 backends-1.2.1/backend/genesys/gl842.cpp:434:9: note: Condition 'use_shdarea' is always true backends-1.2.1/backend/genesys/gl842.cpp:672:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl842.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl842.cpp:672:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl842.cpp:737:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl842.h:56:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl842.cpp:737:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl842.cpp:883:66: style:inconclusive: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl842.h:40:53: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl842.cpp:883:66: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:622:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:676:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:862:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1000:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1054:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1137:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1142:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1158:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1169:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1212:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1346:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1433:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1487:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1543:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1556:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1657:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1664:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1711:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:1722:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl843.cpp:819:18: style: Redundant initialization for 'reg_vref'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/genesys/gl843.cpp:818:31: note: reg_vref is initialized backends-1.2.1/backend/genesys/gl843.cpp:819:18: note: reg_vref is overwritten backends-1.2.1/backend/genesys/gl843.cpp:1210:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl843.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:1210:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:1318:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl843.h:56:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:1318:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:1485:66: style:inconclusive: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl843.h:40:53: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:1485:66: note: Function 'init_regs_for_warmup' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl843.cpp:37:60: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/gl846.cpp:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:289:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:320:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:350:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:518:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:623:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:671:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:737:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:743:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:775:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:796:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:867:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:937:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:949:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:962:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:1027:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:1034:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:1058:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl846.cpp:702:15: style: Redundant initialization for 'start'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/genesys/gl846.cpp:698:17: note: start is initialized backends-1.2.1/backend/genesys/gl846.cpp:702:15: note: start is overwritten backends-1.2.1/backend/genesys/gl846.cpp:748:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl846.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl846.cpp:748:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl846.cpp:771:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl846.h:56:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl846.cpp:771:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl846.cpp:41:62: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/gl846.cpp:903:27: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/gl847.cpp:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:466:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:585:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:637:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:710:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:717:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:724:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:794:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:814:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:885:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:959:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:998:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:1024:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:1081:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:1088:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:1136:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/gl847.cpp:677:15: style: Redundant initialization for 'start'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/genesys/gl847.cpp:673:17: note: start is initialized backends-1.2.1/backend/genesys/gl847.cpp:677:15: note: start is overwritten backends-1.2.1/backend/genesys/gl847.cpp:722:56: style:inconclusive: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl847.h:54:43: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl847.cpp:722:56: note: Function 'begin_scan' argument 3 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl847.cpp:790:75: style:inconclusive: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/gl847.h:56:62: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl847.cpp:790:75: note: Function 'end_scan' argument 2 names different: declaration 'regs' definition 'reg'. backends-1.2.1/backend/genesys/gl847.cpp:36:67: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/gl847.cpp:925:27: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/genesys/image.cpp:188:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:55:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:168:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:225:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:291:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:473:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pipeline.cpp:822:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/image_pixel.cpp:52:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/image_pixel.cpp:62:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/image_pixel.cpp:71:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/image_pixel.cpp:93:86: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] backends-1.2.1/backend/genesys/low.cpp:68:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:230:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:302:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:338:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:354:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:361:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:374:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:445:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:542:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:662:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:724:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:901:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1405:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1479:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1584:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1648:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1797:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:1917:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/low.cpp:997:42: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] backends-1.2.1/backend/genesys/low.cpp:995:38: note: outer condition: dev->model->model_id==ModelId::CANON_5600F backends-1.2.1/backend/genesys/low.cpp:997:42: note: identical inner condition: dev->model->model_id==ModelId::CANON_5600F backends-1.2.1/backend/genesys/low.cpp:1661:12: style: Redundant initialization for 'status'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/genesys/low.cpp:1659:17: note: status is initialized backends-1.2.1/backend/genesys/low.cpp:1661:12: note: status is overwritten backends-1.2.1/backend/genesys/low.cpp:1918:10: style: The scope of the variable 'j' can be reduced. [variableScope] backends-1.2.1/backend/genesys/low.cpp:199:57: style:inconclusive: Function 'debug_print_status' argument 2 names different: declaration 'status' definition 'val'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/low.h:203:57: note: Function 'debug_print_status' argument 2 names different: declaration 'status' definition 'val'. backends-1.2.1/backend/genesys/low.cpp:199:57: note: Function 'debug_print_status' argument 2 names different: declaration 'status' definition 'val'. backends-1.2.1/backend/genesys/low.cpp:228:72: style:inconclusive: Function 'sanei_genesys_read_valid_words' argument 2 names different: declaration 'steps' definition 'words'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/low.h:231:79: note: Function 'sanei_genesys_read_valid_words' argument 2 names different: declaration 'steps' definition 'words'. backends-1.2.1/backend/genesys/low.cpp:228:72: note: Function 'sanei_genesys_read_valid_words' argument 2 names different: declaration 'steps' definition 'words'. backends-1.2.1/backend/genesys/low.cpp:272:68: style:inconclusive: Function 'sanei_genesys_read_scancnt' argument 2 names different: declaration 'steps' definition 'words'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/low.h:233:75: note: Function 'sanei_genesys_read_scancnt' argument 2 names different: declaration 'steps' definition 'words'. backends-1.2.1/backend/genesys/low.cpp:272:68: note: Function 'sanei_genesys_read_scancnt' argument 2 names different: declaration 'steps' definition 'words'. backends-1.2.1/backend/genesys/low.cpp:565:51: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/genesys/motor.cpp:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/motor.cpp:59:12: error: Uninitialized variable: slope.max_step_count [uninitvar] backends-1.2.1/backend/genesys/motor.cpp:59:12: error: Uninitialized struct member: slope.max_step_count [uninitStructMember] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:125:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:180:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:227:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:283:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:334:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:381:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:419:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:437:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:462:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:281:94: style:inconclusive: Function 'bulk_write_data' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] backends-1.2.1/backend/genesys/scanner_interface_usb.h:44:77: note: Function 'bulk_write_data' argument 3 names different: declaration 'size' definition 'len'. backends-1.2.1/backend/genesys/scanner_interface_usb.cpp:281:94: note: Function 'bulk_write_data' argument 3 names different: declaration 'size' definition 'len'. backends-1.2.1/backend/genesys/sensor.cpp:66:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/sensor.cpp:84:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/tables_sensor.cpp:3788:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sensor_id [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/tables_sensor.cpp:976:28: style: Variable 'sensor.full_resolution' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/genesys/tables_sensor.cpp:973:28: note: sensor.full_resolution is assigned backends-1.2.1/backend/genesys/tables_sensor.cpp:976:28: note: sensor.full_resolution is overwritten backends-1.2.1/backend/genesys/tables_sensor.cpp:61:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:102:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:143:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:182:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:302:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:394:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:474:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:522:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:578:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:633:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:680:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:786:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:828:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:871:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:913:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:955:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:998:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1038:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1174:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1318:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1451:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1564:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1700:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1772:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:1902:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2024:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2190:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2382:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2430:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2607:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2784:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2986:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3190:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3245:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3319:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3411:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3464:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3535:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3603:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3658:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3713:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:3762:30: style: Variable 'custom_settings' can be declared as const array [constVariable] backends-1.2.1/backend/genesys/tables_sensor.cpp:2393:31: style: Variable 'base_custom_regs' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 36. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:36:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 38. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:38:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 47. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:47:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 52. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:52:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 53. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:53:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 54. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:54:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 55. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:55:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 62. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:62:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 63. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:63:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 65. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:65:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 66. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:66:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 67. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:67:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 68. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:68:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 69. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:69:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 70. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:70:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 71. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:71:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 72. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:72:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 73. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:73:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: style: Virtual function 'write_register' is called from constructor 'TestScannerInterface(Genesys_Device*dev,std::uint16_t vendor_id,std::uint16_t product_id,std::uint16_t bcd_device)' at line 74. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_scanner_interface.cpp:74:9: note: Calling write_register backends-1.2.1/backend/genesys/test_scanner_interface.h:47:10: note: write_register is a virtual function backends-1.2.1/backend/genesys/register.h:490:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Value [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/register.h:328:54: performance:inconclusive: Function parameter 'p_value' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:332:73: performance:inconclusive: Function parameter 'p_mask' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:395:30: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:400:39: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:409:45: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:418:37: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/register.h:449:36: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] backends-1.2.1/backend/genesys/test_usb_device.cpp:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.cpp:122:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/test_usb_device.h:33:10: style: Virtual function 'is_open' is called from destructor '~TestUsbDevice()' at line 38. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_usb_device.cpp:38:9: note: Calling is_open backends-1.2.1/backend/genesys/test_usb_device.h:33:10: note: is_open is a virtual function backends-1.2.1/backend/genesys/test_usb_device.h:41:10: style: Virtual function 'close' is called from destructor '~TestUsbDevice()' at line 40. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/test_usb_device.cpp:40:9: note: Calling close backends-1.2.1/backend/genesys/test_usb_device.h:41:10: note: close is a virtual function backends-1.2.1/backend/genesys/usb_device.cpp:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.cpp:127:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/genesys/usb_device.h:68:10: style: Virtual function 'is_open' is called from destructor '~UsbDevice()' at line 31. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/usb_device.cpp:31:9: note: Calling is_open backends-1.2.1/backend/genesys/usb_device.h:68:10: note: is_open is a virtual function backends-1.2.1/backend/genesys/usb_device.h:76:10: style: Virtual function 'close' is called from destructor '~UsbDevice()' at line 33. Dynamic binding is not used. [virtualCallInConstructor] backends-1.2.1/backend/genesys/usb_device.cpp:33:9: note: Calling close backends-1.2.1/backend/genesys/usb_device.h:76:10: note: close is a virtual function backends-1.2.1/backend/gt68xx_low.c:234:3: error: There is an unknown macro here somewhere. Configuration is required. If IF_DBG is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/gt68xx_generic.c:277:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_generic.c:660:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_PER_INCH [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_generic.c:111:17: style: Condition 'gain>51' is always false [knownConditionTrueFalse] backends-1.2.1/backend/gt68xx_generic.c:109:17: note: Assuming that condition 'gain>31' is not redundant backends-1.2.1/backend/gt68xx_generic.c:111:17: note: Condition 'gain>51' is always false backends-1.2.1/backend/gt68xx_gt6801.c:105:11: style: Variable '*loaded' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/gt68xx_gt6801.c:99:13: note: *loaded is assigned backends-1.2.1/backend/gt68xx_gt6801.c:105:11: note: *loaded is overwritten backends-1.2.1/backend/gt68xx_generic.c:128:70: style: Parameter 'params' can be declared as pointer to const. However it seems that 'gt68xx_generic_set_afe' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/gt68xx_devices.c:208:3: note: You might need to cast the function pointer here backends-1.2.1/backend/gt68xx_generic.c:128:70: note: Parameter 'params' can be declared as pointer to const backends-1.2.1/backend/gt68xx_generic.c:217:17: style: Variable 'model' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/gt68xx_generic.c:644:29: style: Parameter 'request' can be declared as pointer to const. However it seems that 'gt68xx_generic_move_paper' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/gt68xx_devices.c:128:3: note: You might need to cast the function pointer here backends-1.2.1/backend/gt68xx_generic.c:644:29: note: Parameter 'request' can be declared as pointer to const backends-1.2.1/backend/gt68xx_generic.c:651:17: style: Variable 'model' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/gt68xx_generic.c:128:70: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/gt68xx_generic.c:644:29: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/gt68xx_gt6801.c:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:188:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:239:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT68XX_FLAG_MOTOR_HOME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:275:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6801.c:105:11: style: Variable '*loaded' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/gt68xx_gt6801.c:101:13: note: *loaded is assigned backends-1.2.1/backend/gt68xx_gt6801.c:105:11: note: *loaded is overwritten backends-1.2.1/backend/gt68xx_gt6801.c:54:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6801.c:116:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6801.c:177:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6801.c:267:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6816.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:138:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT68XX_FLAG_NO_POWER_STATUS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_gt6816.c:83:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6816.c:128:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6816.c:149:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6816.c:190:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_gt6816.c:241:15: style: Unused variable: status [unusedVariable] backends-1.2.1/backend/gt68xx_shm_channel.c:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:226:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:370:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:423:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:538:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:589:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:648:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/gt68xx_shm_channel.c:525:41: style: Parameter 'shm_channel' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/gt68xx_shm_channel.c:631:46: style: Parameter 'shm_channel' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/gt68xx_shm_channel.c:80:7: style: union member 'Shm_Channel_Align::i' is never used. [unusedStructMember] backends-1.2.1/backend/gt68xx_shm_channel.c:81:8: style: union member 'Shm_Channel_Align::l' is never used. [unusedStructMember] backends-1.2.1/backend/gt68xx_shm_channel.c:82:9: style: union member 'Shm_Channel_Align::ptr' is never used. [unusedStructMember] backends-1.2.1/backend/gt68xx_shm_channel.c:83:10: style: union member 'Shm_Channel_Align::func_ptr' is never used. [unusedStructMember] backends-1.2.1/backend/gt68xx_shm_channel.c:84:10: style: union member 'Shm_Channel_Align::d' is never used. [unusedStructMember] backends-1.2.1/backend/hp-accessor.c:203:61: style:inconclusive: Function 'sanei_hp_accessor_setint' argument 3 names different: declaration 'v' definition 'val'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-accessor.h:72:69: note: Function 'sanei_hp_accessor_setint' argument 3 names different: declaration 'v' definition 'val'. backends-1.2.1/backend/hp-accessor.c:203:61: note: Function 'sanei_hp_accessor_setint' argument 3 names different: declaration 'v' definition 'val'. backends-1.2.1/backend/hp-accessor.c:228:44: style:inconclusive: Function 'sanei_hp_accessor_new' argument 2 names different: declaration 'size' definition 'sz'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-accessor.h:51:61: note: Function 'sanei_hp_accessor_new' argument 2 names different: declaration 'size' definition 'sz'. backends-1.2.1/backend/hp-accessor.c:228:44: note: Function 'sanei_hp_accessor_new' argument 2 names different: declaration 'size' definition 'sz'. backends-1.2.1/backend/hp-accessor.c:882:17: style:inconclusive: Function 'sanei_hp_accessor_geometry_new' argument 4 names different: declaration 'res' definition 'resolution'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-accessor.h:67:69: note: Function 'sanei_hp_accessor_geometry_new' argument 4 names different: declaration 'res' definition 'resolution'. backends-1.2.1/backend/hp-accessor.c:882:17: note: Function 'sanei_hp_accessor_geometry_new' argument 4 names different: declaration 'res' definition 'resolution'. backends-1.2.1/backend/hp-accessor.c:389:63: style: Parameter 'valp' can be declared as pointer to const. However it seems that 'hp_accessor_choice_set' is a callback function, if 'valp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/hp-accessor.c:489:31: note: You might need to cast the function pointer here backends-1.2.1/backend/hp-accessor.c:389:63: note: Parameter 'valp' can be declared as pointer to const backends-1.2.1/backend/hp-device.c:70:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-device.c:182:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-device.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-device.c:331:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-device.c:396:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-device.c:279:12: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] backends-1.2.1/backend/hp-device.c:316:64: style:inconclusive: Function 'sanei_hp_device_compat' argument 2 names different: declaration 'c' definition 'which'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-device.h:89:65: note: Function 'sanei_hp_device_compat' argument 2 names different: declaration 'c' definition 'which'. backends-1.2.1/backend/hp-device.c:316:64: note: Function 'sanei_hp_device_compat' argument 2 names different: declaration 'c' definition 'which'. backends-1.2.1/backend/hp-device.c:388:33: style:inconclusive: Function 'sanei_hp_device_new' argument 1 names different: declaration 'new' definition 'newp'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-device.h:73:45: note: Function 'sanei_hp_device_new' argument 1 names different: declaration 'new' definition 'newp'. backends-1.2.1/backend/hp-device.c:388:33: note: Function 'sanei_hp_device_new' argument 1 names different: declaration 'new' definition 'newp'. backends-1.2.1/backend/hp-device.c:110:16: style: Variable 'sclsupport' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-handle.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:140:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:227:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:369:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:387:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:432:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:475:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:660:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:733:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:752:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-handle.c:771:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-hpmem.c:120:7: error: Memory leak: new [memleak] backends-1.2.1/backend/hp-option.c:1547:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_hp_accessor_gamma_vector_new [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-option.c:2217:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-option.c:2273:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-option.c:2160:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] backends-1.2.1/backend/hp-option.c:2503:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] backends-1.2.1/backend/hp-option.c:361:10: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] backends-1.2.1/backend/hp-option.c:527:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] backends-1.2.1/backend/hp-option.c:583:6: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] backends-1.2.1/backend/hp-option.c:1954:49: style: Condition 'newval>255' is always false [knownConditionTrueFalse] backends-1.2.1/backend/hp-option.c:1953:18: note: Assignment 'newval=255-vector_data[255-k]', assigned value is less than 256 backends-1.2.1/backend/hp-option.c:1954:49: note: Condition 'newval>255' is always false backends-1.2.1/backend/hp-option.c:850:11: style: Local variable 'val' shadows outer variable [shadowVariable] backends-1.2.1/backend/hp-option.c:813:8: note: Shadowed declaration backends-1.2.1/backend/hp-option.c:850:11: note: Shadow variable backends-1.2.1/backend/hp-option.c:195:8: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:478:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:497:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:566:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:630:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:650:17: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:2169:9: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:2260:37: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp-option.c:2496:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-option.c:164:12: style: struct member 'hp_data_info_s::scl' is never used. [unusedStructMember] backends-1.2.1/backend/hp-scl.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:230:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:263:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:285:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:405:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:490:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:514:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:540:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:597:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:723:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:766:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:833:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:923:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1001:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1012:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1208:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1241:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1310:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1395:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1457:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1582:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1767:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:1850:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:2003:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:2026:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:2096:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp-scl.c:384:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp-scl.c:630:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp-scl.c:1577:8: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp-scl.c:1762:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp-scl.c:1142:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/hp-scl.c:1152:5: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/hp-scl.c:1142:5: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/hp-scl.c:302:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/hp-scl.c:344:11: style: Checking if unsigned expression '*len' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/hp-scl.c:1137:33: style: Checking if unsigned expression 'shift1' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/hp-scl.c:1687:17: style: Checking if unsigned expression 'nread' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/hp-scl.c:1469:63: style:inconclusive: Function 'sanei_hp_scsi_pipeout' argument 3 names different: declaration 'pdescr' definition 'procdata'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-scsi.h:58:54: note: Function 'sanei_hp_scsi_pipeout' argument 3 names different: declaration 'pdescr' definition 'procdata'. backends-1.2.1/backend/hp-scl.c:1469:63: note: Function 'sanei_hp_scsi_pipeout' argument 3 names different: declaration 'pdescr' definition 'procdata'. backends-1.2.1/backend/hp-scl.c:1969:60: style:inconclusive: Function 'sanei_hp_scl_download' argument 3 names different: declaration 'buf' definition 'valp'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-scsi.h:74:49: note: Function 'sanei_hp_scl_download' argument 3 names different: declaration 'buf' definition 'valp'. backends-1.2.1/backend/hp-scl.c:1969:60: note: Function 'sanei_hp_scl_download' argument 3 names different: declaration 'buf' definition 'valp'. backends-1.2.1/backend/hp-scl.c:1969:73: style:inconclusive: Function 'sanei_hp_scl_download' argument 4 names different: declaration 'sz' definition 'len'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-scsi.h:74:61: note: Function 'sanei_hp_scl_download' argument 4 names different: declaration 'sz' definition 'len'. backends-1.2.1/backend/hp-scl.c:1969:73: note: Function 'sanei_hp_scl_download' argument 4 names different: declaration 'sz' definition 'len'. backends-1.2.1/backend/hp-scl.c:1989:52: style:inconclusive: Function 'sanei_hp_scl_upload' argument 3 names different: declaration 'buf' definition 'valp'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-scsi.h:72:41: note: Function 'sanei_hp_scl_upload' argument 3 names different: declaration 'buf' definition 'valp'. backends-1.2.1/backend/hp-scl.c:1989:52: note: Function 'sanei_hp_scl_upload' argument 3 names different: declaration 'buf' definition 'valp'. backends-1.2.1/backend/hp-scl.c:1989:65: style:inconclusive: Function 'sanei_hp_scl_upload' argument 4 names different: declaration 'sz' definition 'len'. [funcArgNamesDifferent] backends-1.2.1/backend/hp-scsi.h:72:53: note: Function 'sanei_hp_scl_upload' argument 4 names different: declaration 'sz' definition 'len'. backends-1.2.1/backend/hp-scl.c:1989:65: note: Function 'sanei_hp_scl_upload' argument 4 names different: declaration 'sz' definition 'len'. backends-1.2.1/backend/hp-scl.c:192:13: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-scl.c:296:43: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp-scl.c:347:9: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-scl.c:823:15: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-scl.c:1068:17: style: Variable 'testptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-scl.c:1281:17: style: Variable 'procdata' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp-scl.c:1379:17: style: Variable 'procdata' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3500.c:266:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/hp3900_config.c:387:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:422:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_myreg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:505:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_myreg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:551:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_myreg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:603:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_myreg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:653:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_myreg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:702:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:734:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:799:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:855:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:902:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:949:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1022:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1105:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1138:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1173:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1208:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1243:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1309:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1345:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1385:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1421:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1457:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1527:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1561:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1595:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1629:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1691:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1728:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1761:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1794:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1884:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1953:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1992:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_reg [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2497:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_modes [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2615:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_modes [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2715:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_modes [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2791:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_modes [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3001:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_wref [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3071:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_wref [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3146:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_wref [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3350:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_cut [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3427:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_cut [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3515:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_cut [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:10800:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/hp3900_rts8822.c:1094:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:4154:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:4184:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:4621:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:6293:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:6344:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:8020:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:8209:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:8430:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:8439:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:10179:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:10350:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:10509:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:10582:8: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:10793:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:11180:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:13282:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:13306:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp3900_rts8822.c:8439:16: error: Invalid usleep() argument nr 1. The value is 5000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/hp3900_rts8822.c:10509:19: error: Invalid usleep() argument nr 1. The value is 3000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/hp3900_rts8822.c:10582:21: error: Invalid usleep() argument nr 1. The value is 2000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/hp3900_rts8822.c:13306:20: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/hp3900_debug.c:697:35: style: Condition 'c<(ser2+5)' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_debug.c:685:31: note: Assuming that condition 'c<(ser2+5)' is not redundant backends-1.2.1/backend/hp3900_debug.c:697:35: note: Condition 'c<(ser2+5)' is always true backends-1.2.1/backend/hp3900_config.c:5625:12: style: Condition 'value!=NULL' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_config.c:5878:12: style: Condition 'value!=NULL' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_config.c:5899:12: style: Condition 'value!=NULL' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_config.c:5919:12: style: Condition 'value!=NULL' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_config.c:5940:12: style: Condition 'value!=NULL' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_sane.c:549:9: style: Condition 'a==0' is always false [knownConditionTrueFalse] backends-1.2.1/backend/hp3900_sane.c:547:17: note: Assignment 'a=1', assigned value is 1 backends-1.2.1/backend/hp3900_sane.c:549:9: note: Condition 'a==0' is always false backends-1.2.1/backend/hp3900_rts8822.c:928:9: error: Common realloc mistake: 'rst' nulled but not freed upon failure [memleakOnRealloc] backends-1.2.1/backend/hp3900_config.c:5621:6: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value3. [nullPointerRedundantCheck] backends-1.2.1/backend/hp3900_config.c:5625:12: note: Assuming that condition 'value!=NULL' is not redundant backends-1.2.1/backend/hp3900_config.c:5623:15: note: Assignment to 'value=value3' backends-1.2.1/backend/hp3900_config.c:5621:6: note: Null pointer dereference backends-1.2.1/backend/hp3900_config.c:5873:6: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value1. [nullPointerRedundantCheck] backends-1.2.1/backend/hp3900_config.c:5878:12: note: Assuming that condition 'value!=NULL' is not redundant backends-1.2.1/backend/hp3900_config.c:5875:15: note: Assignment to 'value=value1' backends-1.2.1/backend/hp3900_config.c:5873:6: note: Null pointer dereference backends-1.2.1/backend/hp3900_config.c:5894:6: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value1. [nullPointerRedundantCheck] backends-1.2.1/backend/hp3900_config.c:5899:12: note: Assuming that condition 'value!=NULL' is not redundant backends-1.2.1/backend/hp3900_config.c:5896:15: note: Assignment to 'value=value1' backends-1.2.1/backend/hp3900_config.c:5894:6: note: Null pointer dereference backends-1.2.1/backend/hp3900_config.c:5915:6: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value1. [nullPointerRedundantCheck] backends-1.2.1/backend/hp3900_config.c:5919:12: note: Assuming that condition 'value!=NULL' is not redundant backends-1.2.1/backend/hp3900_config.c:5916:15: note: Assignment to 'value=value1' backends-1.2.1/backend/hp3900_config.c:5915:6: note: Null pointer dereference backends-1.2.1/backend/hp3900_config.c:5935:6: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value3. [nullPointerRedundantCheck] backends-1.2.1/backend/hp3900_config.c:5940:12: note: Assuming that condition 'value!=NULL' is not redundant backends-1.2.1/backend/hp3900_config.c:5937:15: note: Assignment to 'value=value3' backends-1.2.1/backend/hp3900_config.c:5935:6: note: Null pointer dereference backends-1.2.1/backend/hp3900_rts8822.c:11730:5: warning: Either the condition 'scancfg->coord.height>0' is redundant or there is division by zero at line 11730. [zerodivcond] backends-1.2.1/backend/hp3900_rts8822.c:11718:32: note: Assuming that condition 'scancfg->coord.height>0' is not redundant backends-1.2.1/backend/hp3900_rts8822.c:11730:5: note: Division by zero backends-1.2.1/backend/hp3900_config.c:2011:65: style:inconclusive: Function 'cfg_motormove_get' argument 2 names different: declaration 'mm' definition 'item'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_config.c:136:65: note: Function 'cfg_motormove_get' argument 2 names different: declaration 'mm' definition 'item'. backends-1.2.1/backend/hp3900_config.c:2011:65: note: Function 'cfg_motormove_get' argument 2 names different: declaration 'mm' definition 'item'. backends-1.2.1/backend/hp3900_rts8822.c:6740:35: style:inconclusive: Function 'Triplet_Compose_HRes' argument 1 names different: declaration 'pPointer1' definition 'pRed1'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:435:47: note: Function 'Triplet_Compose_HRes' argument 1 names different: declaration 'pPointer1' definition 'pRed1'. backends-1.2.1/backend/hp3900_rts8822.c:6740:35: note: Function 'Triplet_Compose_HRes' argument 1 names different: declaration 'pPointer1' definition 'pRed1'. backends-1.2.1/backend/hp3900_rts8822.c:6740:54: style:inconclusive: Function 'Triplet_Compose_HRes' argument 2 names different: declaration 'pPointer2' definition 'pGreen1'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:436:19: note: Function 'Triplet_Compose_HRes' argument 2 names different: declaration 'pPointer2' definition 'pGreen1'. backends-1.2.1/backend/hp3900_rts8822.c:6740:54: note: Function 'Triplet_Compose_HRes' argument 2 names different: declaration 'pPointer2' definition 'pGreen1'. backends-1.2.1/backend/hp3900_rts8822.c:6741:21: style:inconclusive: Function 'Triplet_Compose_HRes' argument 3 names different: declaration 'pPointer3' definition 'pBlue1'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:437:19: note: Function 'Triplet_Compose_HRes' argument 3 names different: declaration 'pPointer3' definition 'pBlue1'. backends-1.2.1/backend/hp3900_rts8822.c:6741:21: note: Function 'Triplet_Compose_HRes' argument 3 names different: declaration 'pPointer3' definition 'pBlue1'. backends-1.2.1/backend/hp3900_rts8822.c:6741:41: style:inconclusive: Function 'Triplet_Compose_HRes' argument 4 names different: declaration 'pPointer4' definition 'pRed2'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:438:19: note: Function 'Triplet_Compose_HRes' argument 4 names different: declaration 'pPointer4' definition 'pRed2'. backends-1.2.1/backend/hp3900_rts8822.c:6741:41: note: Function 'Triplet_Compose_HRes' argument 4 names different: declaration 'pPointer4' definition 'pRed2'. backends-1.2.1/backend/hp3900_rts8822.c:6742:21: style:inconclusive: Function 'Triplet_Compose_HRes' argument 5 names different: declaration 'pPointer5' definition 'pGreen2'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:439:19: note: Function 'Triplet_Compose_HRes' argument 5 names different: declaration 'pPointer5' definition 'pGreen2'. backends-1.2.1/backend/hp3900_rts8822.c:6742:21: note: Function 'Triplet_Compose_HRes' argument 5 names different: declaration 'pPointer5' definition 'pGreen2'. backends-1.2.1/backend/hp3900_rts8822.c:6742:42: style:inconclusive: Function 'Triplet_Compose_HRes' argument 6 names different: declaration 'pPointer6' definition 'pBlue2'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:440:19: note: Function 'Triplet_Compose_HRes' argument 6 names different: declaration 'pPointer6' definition 'pBlue2'. backends-1.2.1/backend/hp3900_rts8822.c:6742:42: note: Function 'Triplet_Compose_HRes' argument 6 names different: declaration 'pPointer6' definition 'pBlue2'. backends-1.2.1/backend/hp3900_rts8822.c:8453:26: style:inconclusive: Function 'RTS_Setup_Motor' argument 3 names different: declaration 'myvar' definition 'scancfg'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:267:28: note: Function 'RTS_Setup_Motor' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:8453:26: note: Function 'RTS_Setup_Motor' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:9042:27: style:inconclusive: Function 'RTS_Setup' argument 3 names different: declaration 'myvar' definition 'scancfg'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:240:29: note: Function 'RTS_Setup' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:9042:27: note: Function 'RTS_Setup' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:10266:28: style:inconclusive: Function 'RTS_GetImage_Read' argument 3 names different: declaration 'myvar' definition 'scancfg'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:221:30: note: Function 'RTS_GetImage_Read' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:10266:28: note: Function 'RTS_GetImage_Read' argument 3 names different: declaration 'myvar' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:10310:17: style:inconclusive: Function 'RTS_GetImage' argument 8 names different: declaration 'gainmode' definition 'gaincontrol'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:216:37: note: Function 'RTS_GetImage' argument 8 names different: declaration 'gainmode' definition 'gaincontrol'. backends-1.2.1/backend/hp3900_rts8822.c:10310:17: note: Function 'RTS_GetImage' argument 8 names different: declaration 'gainmode' definition 'gaincontrol'. backends-1.2.1/backend/hp3900_rts8822.c:10648:26: style:inconclusive: Function 'Refs_Set' argument 3 names different: declaration 'myscan' definition 'scancfg'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:331:28: note: Function 'Refs_Set' argument 3 names different: declaration 'myscan' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:10648:26: note: Function 'Refs_Set' argument 3 names different: declaration 'myscan' definition 'scancfg'. backends-1.2.1/backend/hp3900_rts8822.c:11588:33: style:inconclusive: Function 'Calib_AdcGain' argument 4 names different: declaration 'gainmode' definition 'gaincontrol'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:494:35: note: Function 'Calib_AdcGain' argument 4 names different: declaration 'gainmode' definition 'gaincontrol'. backends-1.2.1/backend/hp3900_rts8822.c:11588:33: note: Function 'Calib_AdcGain' argument 4 names different: declaration 'gainmode' definition 'gaincontrol'. backends-1.2.1/backend/hp3900_rts8822.c:14032:57: style:inconclusive: Function 'RTS_Setup_Gamma' argument 2 names different: declaration 'lowcfg' definition 'hwdcfg'. [funcArgNamesDifferent] backends-1.2.1/backend/hp3900_rts8822.c:259:69: note: Function 'RTS_Setup_Gamma' argument 2 names different: declaration 'lowcfg' definition 'hwdcfg'. backends-1.2.1/backend/hp3900_rts8822.c:14032:57: note: Function 'RTS_Setup_Gamma' argument 2 names different: declaration 'lowcfg' definition 'hwdcfg'. backends-1.2.1/backend/hp3900_usb.c:451:28: style: Local variable 'offset' shadows outer variable [shadowVariable] backends-1.2.1/backend/hp3900_types.c:717:10: note: Shadowed declaration backends-1.2.1/backend/hp3900_usb.c:451:28: note: Shadow variable backends-1.2.1/backend/hp3900_rts8822.c:3941:14: style: Local variable 'rst' shadows outer variable [shadowVariable] backends-1.2.1/backend/hp3900_rts8822.c:3932:12: note: Shadowed declaration backends-1.2.1/backend/hp3900_rts8822.c:3941:14: note: Shadow variable backends-1.2.1/backend/hp3900_rts8822.c:7234:16: style: Local variable 'transferred' shadows outer argument [shadowArgument] backends-1.2.1/backend/hp3900_rts8822.c:7084:38: note: Shadowed declaration backends-1.2.1/backend/hp3900_rts8822.c:7234:16: note: Shadow variable backends-1.2.1/backend/hp3900_sane.c:560:21: style: Variable 'coords' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_sane.c:690:21: style: Variable 'limits' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_sane.c:834:13: style: Variable 'coef' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_sane.c:983:24: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_sane.c:1012:25: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_sane.c:1029:28: style: Parameter 'colormode' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_sane.c:1110:31: style: Variable 'pDesc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_sane.c:1653:32: style: Parameter 'pModel' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_sane.c:2056:23: style: Variable 'coords' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_sane.c:2108:27: style: Variable 'coords' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:793:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:1333:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:1900:44: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:1952:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:2098:23: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:2144:23: style: Variable 'reg' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:2434:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:2461:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:2512:43: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:2655:56: style: Parameter 'mtrpos' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:2766:21: style: Variable 'crv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:3489:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3528:42: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3555:14: style: Variable 'resource' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:3781:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3805:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3832:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3856:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3884:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3905:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3964:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:3999:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4018:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4037:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4060:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4088:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4138:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4168:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4198:33: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4533:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4561:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4577:44: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4594:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4637:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4657:31: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4713:59: style: Parameter 'hwdcfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:5255:27: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:5273:26: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:5416:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:6436:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:6483:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:6808:42: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:6923:41: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:7407:14: style: Variable 'gamma' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:7920:43: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:8679:28: style: Parameter 'scancfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:8680:27: style: Parameter 'hwdcfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:8813:27: style: Parameter 'hwdcfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:8948:39: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:8949:29: style: Parameter 'scancfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:9334:59: style: Parameter 'Regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:9335:28: style: Parameter 'myCalib' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:9536:44: style: Parameter 'Regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:9537:42: style: Parameter 'tablepos' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:10040:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:10266:58: style: Parameter 'hwdcfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:10854:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11191:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11208:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11448:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11867:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11867:52: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:11867:72: style: Parameter 'gain' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12060:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12075:33: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12089:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12125:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12571:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:12571:61: style: Parameter 'scancfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:13612:49: style: Parameter 'Regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:13916:25: style: Variable 'mc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_rts8822.c:14032:57: style: Parameter 'hwdcfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14087:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14203:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14230:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14253:41: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14276:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14290:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14451:56: style: Parameter 'Regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:14453:29: style: Parameter 'scancfg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_debug.c:105:38: style: Parameter 'myCalib' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_debug.c:290:23: style: Variable 'crv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:2041:23: style: Variable 'mv' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:2066:23: style: Variable 'mv' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:2369:20: style: Variable 'md' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:2499:20: style: Variable 'md' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:2617:20: style: Variable 'md' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:2717:20: style: Variable 'md' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:2793:20: style: Variable 'md' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:3594:20: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:3621:20: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:3667:21: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:3689:21: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:3722:20: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:3756:20: style: Variable 'data' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:5575:7: style: Variable 'myvalue' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5623:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5664:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5711:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5765:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5818:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5851:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5875:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5896:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5916:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5937:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_config.c:5960:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp3900_usb.c:445:42: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp3900_rts8822.c:4132:8: warning: Uninitialized variable: *flb_lamp [uninitvar] backends-1.2.1/backend/hp3900_rts8822.c:7970:29: note: Calling function 'Lamp_Status_Get', 2nd argument '&flb_lamp' value is backends-1.2.1/backend/hp3900_rts8822.c:4099:26: note: Assuming condition is false backends-1.2.1/backend/hp3900_rts8822.c:4132:8: note: Uninitialized variable: *flb_lamp backends-1.2.1/backend/hp3900_rts8822.c:4132:25: warning: Uninitialized variable: *tma_lamp [uninitvar] backends-1.2.1/backend/hp3900_rts8822.c:7970:40: note: Calling function 'Lamp_Status_Get', 3rd argument '&tma_lamp' value is backends-1.2.1/backend/hp3900_rts8822.c:4099:26: note: Assuming condition is false backends-1.2.1/backend/hp3900_rts8822.c:4132:25: note: Uninitialized variable: *tma_lamp backends-1.2.1/backend/hp3900_rts8822.c:5713:63: warning: Uninitialized variable: *transferred [uninitvar] backends-1.2.1/backend/hp3900_rts8822.c:7329:51: note: Calling function 'Arrange_NonColour', 4th argument '&transferred' value is backends-1.2.1/backend/hp3900_rts8822.c:5635:24: note: Assuming condition is false backends-1.2.1/backend/hp3900_rts8822.c:5713:63: note: Uninitialized variable: *transferred backends-1.2.1/backend/hp3900_rts8822.c:3023:8: style: Variable 'cont' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:5575:23: style: Variable 'dots_count' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:5623:24: style: Variable 'lines_count' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:5624:27: style: Variable 'channels_count' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:7110:13: style: Variable 'lfa58' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:7803:15: style: Variable 'opStatus' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:10051:20: style: Variable 'iBytesTransfered' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:10190:19: style: Variable 'lastAmount' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:11097:15: style: Variable 'pointer1' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:11098:15: style: Variable 'pointer2' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:12304:8: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:12362:17: style: Variable 'mywvalue' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:13142:20: style: Variable 'sumatorio' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:13804:13: style: Variable 'lf900' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_rts8822.c:13823:11: style: Variable 'lf900' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp3900_config.c:370:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BQ5550 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:420:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTS8822L_01H [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:440:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:480:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:526:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:578:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:628:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:753:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:836:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCD_SENSOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:968:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:995:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1045:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1093:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BQ5550 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1262:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1300:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1336:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1380:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1412:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1448:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1477:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1520:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLB_LAMP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1554:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLB_LAMP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1588:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLB_LAMP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1622:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLB_LAMP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1648:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1686:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1756:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1789:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1815:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1844:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2013:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2035:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2060:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2085:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2139:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2182:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXEL_RATE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2402:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2532:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2650:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2747:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2908:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_NORMAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:2958:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3068:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_NORMAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3144:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_NORMAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3181:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3251:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_RED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3486:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB20 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3559:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3588:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3615:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3659:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3716:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3751:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:3782:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:4191:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:4589:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:5070:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:5555:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:5577:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:5991:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dev_model [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_config.c:1057:16: style: Variable 'Resource' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_config.c:1065:16: style: Variable 'Resource' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_debug.c:308:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACC_CURVE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_debug.c:421:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIX_BY_SOFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_debug.c:623:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:313:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:344:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:386:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:429:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:447:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:635:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:708:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BACKEND_VRSN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:746:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:759:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:999:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Int [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:1403:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:2540:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:2577:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:2664:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:2998:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:4373:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:4666:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:4768:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:5641:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:6140:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:6216:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:6413:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:6607:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:7428:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:7621:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:7775:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:8068:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:9476:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Int [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:10403:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:10565:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:10751:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:10981:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:11286:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:11603:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:11917:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:12185:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:12649:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:13168:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:13629:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:14485:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_rts8822.c:9257:13: style: Variable 'fake' can be declared as const array [constVariable] backends-1.2.1/backend/hp3900_usb.c:447:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_sane.c:1758:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_types.c:233:9: style: struct member 'st_chip::name' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:238:11: style: struct member 'st_shading::rates' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:245:14: style: struct member 'st_scanning::imagebuffer' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:246:14: style: struct member 'st_scanning::imagepointer' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:279:14: style: struct member 'st_resize::v3624' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:280:14: style: struct member 'st_resize::v3628' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:281:14: style: struct member 'st_resize::v362c' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:295:14: style: struct member 'st_readimage::DMABuffer' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:297:14: style: struct member 'st_readimage::RDStart' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:330:10: style: struct member 'st_calibration_config::OffsetTargetMax' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:331:10: style: struct member 'st_calibration_config::OffsetTargetMin' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:332:10: style: struct member 'st_calibration_config::OffsetBoundaryRatio1' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:333:10: style: struct member 'st_calibration_config::OffsetBoundaryRatio2' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:334:10: style: struct member 'st_calibration_config::OffsetAvgRatio1' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:335:10: style: struct member 'st_calibration_config::OffsetAvgRatio2' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:353:10: style: struct member 'st_calibration_config::GainTargetFactor' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:368:10: style: struct member 'st_calibration_config::ShadingCut' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:374:10: style: struct member 'st_calibration_config::ExternBoundary' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:383:11: style: struct member 'st_calibration::white_shading' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:384:11: style: struct member 'st_calibration::black_shading' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:399:11: style: struct member 'st_cal2::tables' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:400:11: style: struct member 'st_cal2::table2' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:488:10: style: struct member 'st_cph::p1' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:489:10: style: struct member 'st_cph::p2' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:511:10: style: struct member 'st_timing::adcclkp' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:581:13: style: struct member 'st_curve::step' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:591:21: style: struct member 'st_motorcurve::curve' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:596:10: style: struct member 'st_checkstable::diff' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:598:8: style: struct member 'st_checkstable::tottime' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:655:14: style: struct member 'st_device::init_regs' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:658:19: style: struct member 'st_device::chipset' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:661:23: style: struct member 'st_device::motorcfg' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:664:24: style: struct member 'st_device::sensorcfg' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:668:22: style: struct member 'st_device::timings' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:672:25: style: struct member 'st_device::motormove' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:676:26: style: struct member 'st_device::mtrsetting' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:680:24: style: struct member 'st_device::scanmodes' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:683:25: style: struct member 'st_device::constrains' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:686:22: style: struct member 'st_device::buttons' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:689:21: style: struct member 'st_device::Resize' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:692:24: style: struct member 'st_device::Reading' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:695:23: style: struct member 'st_device::scanning' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_types.c:698:21: style: struct member 'st_device::status' is never used. [unusedStructMember] backends-1.2.1/backend/hp3900_usb.c:111:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:130:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:164:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:195:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:212:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:233:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:294:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:328:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:361:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp3900_usb.c:405:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp4200.c:2376:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp4200_lm9830.c:212:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200_lm9830.c:214:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:419:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:421:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:437:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:1079:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:1399:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:1506:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:1539:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:1877:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:2015:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:2060:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:2062:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hp4200.c:342:40: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/hp4200.c:1107:30: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/hp4200.c:1433:22: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/hp4200.c:1929:17: style: Condition 'data_mode==1' is always false [knownConditionTrueFalse] backends-1.2.1/backend/hp4200.c:1911:15: note: Assignment 'data_mode=0', assigned value is 0 backends-1.2.1/backend/hp4200.c:1929:17: note: Condition 'data_mode==1' is always false backends-1.2.1/backend/hp4200.c:401:21: style: Variable 'sensor_bit' can be declared as const array [constVariable] backends-1.2.1/backend/hp4200.c:745:60: style: Parameter 'gain_offset' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp4200.c:904:46: style: Parameter 'hw_parms' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp4200.c:2704:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp4200.c:2937:19: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp4200_lm9830.c:175:18: style: Variable 'regdata' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp4200.c:1998:43: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/hp4200.c:1646:16: style: Variable 'min_white_err' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp4200_lm9830.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp4200_lm9830.c:65:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PV8630_REPPADDRESS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp4200_lm9830.c:178:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PV8630_RMODE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sane.c:623:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] backends-1.2.1/backend/hp5400_internal.c:1195:26: style:inconclusive: Function 'InitScan2' argument 1 names different: declaration 'type' definition 'scantype'. [funcArgNamesDifferent] backends-1.2.1/backend/hp5400_internal.h:174:26: note: Function 'InitScan2' argument 1 names different: declaration 'type' definition 'scantype'. backends-1.2.1/backend/hp5400_internal.c:1195:26: note: Function 'InitScan2' argument 1 names different: declaration 'type' definition 'scantype'. backends-1.2.1/backend/hp5400_internal.c:1196:49: style:inconclusive: Function 'InitScan2' argument 4 names different: declaration 'res' definition 'result'. [funcArgNamesDifferent] backends-1.2.1/backend/hp5400_internal.h:175:53: note: Function 'InitScan2' argument 4 names different: declaration 'res' definition 'result'. backends-1.2.1/backend/hp5400_internal.c:1196:49: note: Function 'InitScan2' argument 4 names different: declaration 'res' definition 'result'. backends-1.2.1/backend/hp5400_sanei.c:323:11: style:inconclusive: Function 'hp5400_bulk_command_write' argument 5 names different: declaration 'len' definition 'datalen'. [funcArgNamesDifferent] backends-1.2.1/backend/hp5400_xfer.h:71:13: note: Function 'hp5400_bulk_command_write' argument 5 names different: declaration 'len' definition 'datalen'. backends-1.2.1/backend/hp5400_sanei.c:323:11: note: Function 'hp5400_bulk_command_write' argument 5 names different: declaration 'len' definition 'datalen'. backends-1.2.1/backend/hp5400_internal.c:147:22: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_internal.c:160:24: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_internal.c:186:27: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_internal.c:204:26: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_internal.c:215:11: style: Variable 'packetImage' can be declared as const array [constVariable] backends-1.2.1/backend/hp5400_internal.c:244:25: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_internal.c:255:11: style: Variable 'packetImage' can be declared as const array [constVariable] backends-1.2.1/backend/hp5400_internal.c:613:13: style: Variable 'itR' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:614:13: style: Variable 'itG' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:615:13: style: Variable 'itB' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:629:14: style: Variable 'itR' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:630:14: style: Variable 'itG' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:631:14: style: Variable 'itB' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_internal.c:1471:26: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hp5400_sane.c:550:41: style: Parameter 'pModel' can be declared as pointer to const. However it seems that '_ReportDevice' is a callback function, if 'pModel' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/hp5400_sane.c:592:31: note: You might need to cast the function pointer here backends-1.2.1/backend/hp5400_sane.c:550:41: note: Parameter 'pModel' can be declared as pointer to const backends-1.2.1/backend/hp5400_sane.c:1058:27: style: Variable 'bwColour' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hp5400_sanei.c:326:14: style: Variable 'res' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/hp5400_internal.c:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:175:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:235:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:275:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:329:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:529:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:585:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:787:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:1177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:1212:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:1391:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:1410:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_internal.c:1493:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sane.c:185:15: style: union member 'TOptionValue::s' is never used. [unusedStructMember] backends-1.2.1/backend/hp5400_sanei.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:108:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:175:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:215:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:243:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:307:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hp5400_sanei.c:330:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hpljm1005.c:390:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/hpsj5s.c:159:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/hs2p-scsi.c:441:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hs2p-scsi.c:1754:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/hs2p-scsi.c:1806:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/hs2p-scsi.c:1806:15: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/hs2p-scsi.c:63:13: style: Condition 'i>=0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/hs2p-scsi.c:49:11: note: Assignment 'i=devtype', assigned value is greater than -1 backends-1.2.1/backend/hs2p-scsi.c:63:13: note: Condition 'i>=0' is always true backends-1.2.1/backend/hs2p-scsi.c:940:10: style: Variable 'nbytes' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/hs2p-scsi.c:915:10: note: nbytes is assigned backends-1.2.1/backend/hs2p-scsi.c:940:10: note: nbytes is overwritten backends-1.2.1/backend/hs2p-scsi.c:352:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/hs2p-scsi.c:980:27: style: Parameter 'swd' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hs2p-scsi.c:1768:33: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hs2p.h:404:21: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hs2p.h:414:21: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hs2p.h:434:21: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/hs2p-scsi.c:1558:15: style: struct member 'Anonymous11::reserved' is never used. [unusedStructMember] backends-1.2.1/backend/hs2p-scsi.c:1559:15: style: struct member 'Anonymous11::control' is never used. [unusedStructMember] backends-1.2.1/backend/hs2p-scsi.c:1741:15: style: struct member 'Anonymous12::wid' is never used. [unusedStructMember] backends-1.2.1/backend/hs2p.c:1558:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/ibm-scsi.c:344:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/ibm-scsi.c:425:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/ibm-scsi.c:434:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/ibm-scsi.c:434:15: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/ibm-scsi.c:171:41: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ibm-scsi.c:243:45: style: Parameter 'iwd' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ibm-scsi.c:398:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ibm.c:538:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/kodak.c:176:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/kvs1025.c:399:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs1025_cmds.h:41:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/kvs1025_low.c:641:10: warning: Identical condition and return expression 'status', return value is always 0 [identicalConditionAfterEarlyExit] backends-1.2.1/backend/kvs1025_low.c:624:7: note: If condition 'status' is true, the function will return/exit backends-1.2.1/backend/kvs1025_low.c:641:10: note: Returning identical expression 'status' backends-1.2.1/backend/kvs1025_low.c:975:23: style:inconclusive: Function 'buffer_deskew' argument 1 names different: declaration 'dev' definition 's'. [funcArgNamesDifferent] backends-1.2.1/backend/kvs1025_low.h:284:36: note: Function 'buffer_deskew' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:975:23: note: Function 'buffer_deskew' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1022:21: style:inconclusive: Function 'buffer_crop' argument 1 names different: declaration 'dev' definition 's'. [funcArgNamesDifferent] backends-1.2.1/backend/kvs1025_low.h:285:34: note: Function 'buffer_crop' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1022:21: note: Function 'buffer_crop' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1081:24: style:inconclusive: Function 'buffer_despeck' argument 1 names different: declaration 'dev' definition 's'. [funcArgNamesDifferent] backends-1.2.1/backend/kvs1025_low.h:286:37: note: Function 'buffer_despeck' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1081:24: note: Function 'buffer_despeck' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1105:24: style:inconclusive: Function 'buffer_isblank' argument 1 names different: declaration 'dev' definition 's'. [funcArgNamesDifferent] backends-1.2.1/backend/kvs1025_low.h:287:29: note: Function 'buffer_isblank' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1105:24: note: Function 'buffer_isblank' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1133:23: style:inconclusive: Function 'buffer_rotate' argument 1 names different: declaration 'dev' definition 's'. [funcArgNamesDifferent] backends-1.2.1/backend/kvs1025_low.h:288:35: note: Function 'buffer_rotate' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:1133:23: note: Function 'buffer_rotate' argument 1 names different: declaration 'dev' definition 's'. backends-1.2.1/backend/kvs1025_low.c:493:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs1025_opt.c:476:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/kvs1025_usb.c:303:14: style: Local variable 'len' shadows outer variable [shadowVariable] backends-1.2.1/backend/kvs1025_usb.c:205:10: note: Shadowed declaration backends-1.2.1/backend/kvs1025_usb.c:303:14: note: Shadow variable backends-1.2.1/backend/kvs1025_usb.c:149:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/kvs20xx.c:61:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/kvs20xx_cmd.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:88:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_DEVICE_BUSY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:272:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:301:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:325:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:355:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs20xx_cmd.c:263:7: style: Variable 'd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs20xx_cmd.c:289:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs20xx_cmd.c:345:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs20xx_opt.c:464:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/kvs40xx.c:157:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/kvs40xx_cmd.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:253:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:287:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_DEVICE_BUSY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:425:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:460:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:507:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:555:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:578:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_cmd.c:451:7: style: Variable 'd' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs40xx_cmd.c:475:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/kvs40xx.h:285:13: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/kvs40xx_cmd.c:83:17: style: struct member 'response::data' is never used. [unusedStructMember] backends-1.2.1/backend/kvs40xx_opt.c:300:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_opt.c:874:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_UNSUPPORTED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_opt.c:1403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FRAME_GRAY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/kvs40xx_opt.c:1225:19: warning: Logical conjunction always evaluates to false: i == 4 && i == 10. [incorrectLogicOperator] backends-1.2.1/backend/kvs40xx_opt.c:46:23: style: Variable 'r' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/leo.c:1052:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/leo.c:1204:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEO_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/leo.c:1257:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEO_HALFTONE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/leo.c:1564:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEO_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/leo.c:1010:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/leo.c:962:18: style: Condition 'timeout>0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/leo.c:960:13: note: Assignment 'timeout=60', assigned value is 60 backends-1.2.1/backend/leo.c:969:18: note: Assuming condition is false backends-1.2.1/backend/leo.c:962:18: note: Condition 'timeout>0' is always true backends-1.2.1/backend/leo.c:1862:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/leo.c:490:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/leo.c:650:25: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/leo.c:949:33: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/leo.c:1247:42: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/leo.c:1424:16: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/leo.c:1914:16: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/leo.h:178:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark.c:521:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/lexmark_low.c:1186:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/lexmark_low.c:280:7: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/backend/lexmark_low.c:5242:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/lexmark_low.c:998:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/lexmark_low.c:1122:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/lexmark_low.c:2231:25: style: Condition 'no_of_buffers<1' is always false [knownConditionTrueFalse] backends-1.2.1/backend/lexmark_low.c:2229:23: note: Assignment 'no_of_buffers=1', assigned value is 1 backends-1.2.1/backend/lexmark_low.c:2231:25: note: Condition 'no_of_buffers<1' is always false backends-1.2.1/backend/lexmark_low.c:2233:30: style: Condition 'no_of_buffers>10' is always false [knownConditionTrueFalse] backends-1.2.1/backend/lexmark_low.c:2229:23: note: Assignment 'no_of_buffers=1', assigned value is 1 backends-1.2.1/backend/lexmark_low.c:2233:30: note: Condition 'no_of_buffers>10' is always false backends-1.2.1/backend/lexmark_low.c:493:30: style: Variable 'dev->shadow_regs[0x2e]' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/lexmark_low.c:492:30: note: dev->shadow_regs[0x2e] is assigned backends-1.2.1/backend/lexmark_low.c:493:30: note: dev->shadow_regs[0x2e] is overwritten backends-1.2.1/backend/lexmark_low.c:2237:22: style: Variable 'size_requested' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/lexmark_low.c:2224:22: note: size_requested is assigned backends-1.2.1/backend/lexmark_low.c:2237:22: note: size_requested is overwritten backends-1.2.1/backend/lexmark_low.c:5235:33: style:inconclusive: Function 'read_buffer_free' argument 1 names different: declaration 'rb' definition 'read_buffer'. [funcArgNamesDifferent] backends-1.2.1/backend/lexmark_low.c:102:52: note: Function 'read_buffer_free' argument 1 names different: declaration 'rb' definition 'read_buffer'. backends-1.2.1/backend/lexmark_low.c:5235:33: note: Function 'read_buffer_free' argument 1 names different: declaration 'rb' definition 'read_buffer'. backends-1.2.1/backend/lexmark_low.c:5467:37: style:inconclusive: Function 'read_buffer_is_empty' argument 1 names different: declaration 'rb' definition 'read_buffer'. [funcArgNamesDifferent] backends-1.2.1/backend/lexmark_low.c:113:54: note: Function 'read_buffer_is_empty' argument 1 names different: declaration 'rb' definition 'read_buffer'. backends-1.2.1/backend/lexmark_low.c:5467:37: note: Function 'read_buffer_is_empty' argument 1 names different: declaration 'rb' definition 'read_buffer'. backends-1.2.1/backend/lexmark_low.c:127:31: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:849:50: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:1035:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:1242:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:1258:50: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:2312:23: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:5264:53: style: Parameter 'byte_pointer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:5314:58: style: Parameter 'byte_pointer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:5339:60: style: Parameter 'byte_pointer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:5467:37: style: Parameter 'read_buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:5477:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/lexmark_low.c:280:13: style: Variable 'start' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/lexmark_low.c:2171:10: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/ma1509.c:1097:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/matsushita.c:1432:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATSUSHITA_HALFTONE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/matsushita.c:2030:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATSUSHITA_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/matsushita.c:1333:18: style: Condition 'timeout>0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/matsushita.c:1331:13: note: Assignment 'timeout=60', assigned value is 60 backends-1.2.1/backend/matsushita.c:1340:18: note: Assuming condition is false backends-1.2.1/backend/matsushita.c:1333:18: note: Condition 'timeout>0' is always true backends-1.2.1/backend/matsushita.c:2364:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/matsushita.c:951:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/matsushita.c:1320:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/matsushita.c:1354:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/matsushita.c:1834:23: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/matsushita.c:2415:22: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/matsushita.h:139:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/matsushita.c:751:52: warning: Division by result of sizeof(). malloc() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] backends-1.2.1/backend/matsushita.c:758:38: warning: Division by result of sizeof(). malloc() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] backends-1.2.1/backend/microtek.c:3051:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/microtek2.c:121:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/mustek.c:5167:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/mustek_pp.c:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp.c:709:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp.c:1706:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp.c:1787:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp.c:1878:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1994:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:491:19: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_pp_cis.c:821:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_pp_ccd300.c:150:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_pp_ccd300.c:1249:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_pp_cis.c:493:17: style: Condition 'tries>50000' is always false [knownConditionTrueFalse] backends-1.2.1/backend/mustek_pp_cis.c:463:16: note: Assignment 'tries=0', assigned value is 0 backends-1.2.1/backend/mustek_pp_cis.c:489:15: note: Assuming condition is false backends-1.2.1/backend/mustek_pp_cis.c:493:17: note: Condition 'tries>50000' is always false backends-1.2.1/backend/mustek_pp_cis.c:1272:18: style: Redundant initialization for 'moveAtChannel'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/mustek_pp_cis.c:1263:22: note: moveAtChannel is initialized backends-1.2.1/backend/mustek_pp_cis.c:1272:18: note: moveAtChannel is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:790:15: style: Variable 'dev->invert' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:778:15: note: dev->invert is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:790:15: note: dev->invert is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:789:19: style: Variable 'priv->skipcount' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:779:19: note: priv->skipcount is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:789:19: note: priv->skipcount is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:789:42: style: Variable 'priv->skipimagebytes' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:780:24: note: priv->skipimagebytes is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:789:42: note: priv->skipimagebytes is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:788:26: style: Variable 'dev->res' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:782:12: note: dev->res is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:788:26: note: dev->res is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:788:15: style: Variable 'priv->hwres' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:783:15: note: priv->hwres is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:788:15: note: priv->hwres is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:810:15: style: Variable 'dev->invert' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_pp_ccd300.c:799:15: note: dev->invert is assigned backends-1.2.1/backend/mustek_pp_ccd300.c:810:15: note: dev->invert is overwritten backends-1.2.1/backend/mustek_pp_ccd300.c:1677:27: style:inconclusive: Function 'ccd300_setup' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:74:40: note: Function 'ccd300_setup' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1677:27: note: Function 'ccd300_setup' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1719:27: style:inconclusive: Function 'ccd300_close' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:78:40: note: Function 'ccd300_close' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1719:27: note: Function 'ccd300_close' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1739:28: style:inconclusive: Function 'ccd300_config' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:75:47: note: Function 'ccd300_config' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1739:28: note: Function 'ccd300_config' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1826:26: style:inconclusive: Function 'ccd300_stop' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:81:39: note: Function 'ccd300_stop' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1826:26: note: Function 'ccd300_stop' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1864:27: style:inconclusive: Function 'ccd300_start' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:79:46: note: Function 'ccd300_start' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:1864:27: note: Function 'ccd300_start' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:2020:26: style:inconclusive: Function 'ccd300_read' argument 1 names different: declaration 'hndl' definition 'handle'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_pp_decl.h:80:39: note: Function 'ccd300_read' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp_ccd300.c:2020:26: note: Function 'ccd300_read' argument 1 names different: declaration 'hndl' definition 'handle'. backends-1.2.1/backend/mustek_pp.c:1245:21: style: Variable 'hndl' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp.c:1534:9: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp.c:1900:20: style: Variable 'hndl' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_null.c:141:20: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_cis.c:429:45: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:553:46: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:587:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:625:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:680:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:727:49: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:1331:54: style: Parameter 'calib_low' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:1332:38: style: Parameter 'calib_hi' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:1332:59: style: Parameter 'gamma' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_cis.c:1622:29: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_ccd300.c:98:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:131:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_ccd300.c:141:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:168:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:246:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:284:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:300:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:316:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:332:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:346:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:363:52: style: Parameter 'gamma' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp_ccd300.c:366:14: style: Variable 'cal' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:368:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:478:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:882:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:897:27: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:1086:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_pp_ccd300.c:1206:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_pp.c:1768:16: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_pp_cis.c:1093:26: style: Unused variable: timeoutVal [unusedVariable] backends-1.2.1/backend/mustek_pp_cis.c:2414:14: style: Variable 'value' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_pp_cis.c:2415:18: style: Variable 'dvalue' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_pp_ccd300.c:1744:13: style: Variable 'value' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_pp_ccd300.c:333:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:431:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:630:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:764:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:855:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:911:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FIXED_SCALE_SHIFT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1361:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1480:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1534:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1592:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NOTHING [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1651:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INVERT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1659:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NOTHING [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1698:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1727:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1756:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1835:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:1883:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_ccd300.c:2028:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:500:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:836:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:920:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1042:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1152:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1172:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1268:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1353:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1516:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1643:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1797:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1847:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:1985:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2019:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2040:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2161:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2206:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2327:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2374:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2416:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2519:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2789:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_pp_cis.c:2817:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb.c:692:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/mustek_usb2.c:2006:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/mustek_usb2_asic.c:56:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:179:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:193:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:212:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:253:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:309:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:428:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:438:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:507:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:1579:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:1615:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:1758:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:1898:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:1986:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2092:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2191:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2225:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2273:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2316:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2359:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2391:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2558:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2590:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2707:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2738:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2761:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2924:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:2961:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3027:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3409:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3532:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3548:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3631:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3706:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3733:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3788:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:3822:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4275:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4303:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4329:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4353:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4409:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4512:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4533:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4598:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4617:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4681:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4702:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4806:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:4838:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:5247:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_asic.c:299:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:485:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:3510:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:3756:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:4364:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:4819:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_asic.c:1548:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/mustek_usb2_asic.c:3488:62: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/mustek_usb2_asic.c:3489:58: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/mustek_usb2_asic.c:3494:27: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/mustek_usb2_asic.c:3496:22: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/mustek_usb2_asic.c:3872:7: error: Memory leak: lpMotorStepsTable [memleak] backends-1.2.1/backend/mustek_usb2_asic.c:4889:7: error: Memory leak: lpMotorStepsTable [memleak] backends-1.2.1/backend/mustek_usb2_asic.c:4889:7: error: Memory leak: lpMotorTable [memleak] backends-1.2.1/backend/mustek_usb2_asic.c:4895:7: error: Memory leak: lpMotorTable [memleak] backends-1.2.1/backend/mustek_usb2_asic.c:271:14: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:268:14: note: status is assigned backends-1.2.1/backend/mustek_usb2_asic.c:271:14: note: status is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:289:14: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:286:14: note: status is assigned backends-1.2.1/backend/mustek_usb2_asic.c:289:14: note: status is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:3051:24: style: Redundant initialization for 'ValidPixelNumber'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/mustek_usb2_asic.c:3033:35: note: ValidPixelNumber is initialized backends-1.2.1/backend/mustek_usb2_asic.c:3051:24: note: ValidPixelNumber is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:3060:20: style: Variable 'ValidPixelNumber' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:3051:24: note: ValidPixelNumber is assigned backends-1.2.1/backend/mustek_usb2_asic.c:3060:20: note: ValidPixelNumber is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:3060:20: style: Variable 'ValidPixelNumber' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:3056:24: note: ValidPixelNumber is assigned backends-1.2.1/backend/mustek_usb2_asic.c:3060:20: note: ValidPixelNumber is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:4055:21: style: Variable 'XRatioAdderDouble' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:4052:21: note: XRatioAdderDouble is assigned backends-1.2.1/backend/mustek_usb2_asic.c:4055:21: note: XRatioAdderDouble is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:5031:21: style: Variable 'XRatioAdderDouble' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb2_asic.c:5028:21: note: XRatioAdderDouble is assigned backends-1.2.1/backend/mustek_usb2_asic.c:5031:21: note: XRatioAdderDouble is overwritten backends-1.2.1/backend/mustek_usb2_asic.c:2122:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/mustek_usb2_asic.c:2127:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/mustek_usb2_asic.c:2122:8: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/mustek_usb2_asic.c:1984:51: style:inconclusive: Function 'LLFCalculateMotorTable' argument 1 names different: declaration 'lpCalculateMotorTable' definition 'LLF_CalculateMotorTable'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_usb2_asic.h:1386:9: note: Function 'LLFCalculateMotorTable' argument 1 names different: declaration 'lpCalculateMotorTable' definition 'LLF_CalculateMotorTable'. backends-1.2.1/backend/mustek_usb2_asic.c:1984:51: note: Function 'LLFCalculateMotorTable' argument 1 names different: declaration 'lpCalculateMotorTable' definition 'LLF_CalculateMotorTable'. backends-1.2.1/backend/mustek_usb2_asic.c:307:61: style: Parameter 'lpdata' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_usb2_asic.c:524:29: warning: Uninitialized variable: MotorCurrentAndPhase->FillPhase [uninitvar] backends-1.2.1/backend/mustek_usb2_asic.c:4638:37: note: Calling function 'LLFSetMotorCurrentAndPhase', 2nd argument '&CurrentPhase' value is backends-1.2.1/backend/mustek_usb2_asic.c:524:29: note: Uninitialized variable: MotorCurrentAndPhase->FillPhase backends-1.2.1/backend/mustek_usb2_asic.c:3033:37: warning: Uninitialized variable: *PValidPixelNumber [uninitvar] backends-1.2.1/backend/mustek_usb2_asic.c:5148:44: note: Calling function 'SetPackAddress', 8th argument '&ValidPixelNumber' value is backends-1.2.1/backend/mustek_usb2_asic.c:3033:37: note: Uninitialized variable: *PValidPixelNumber backends-1.2.1/backend/mustek_usb2_asic.c:292:14: style: Variable 'buf[0]' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_asic.c:350:14: style: Variable 'buf[0]' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:442:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:633:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1142:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1390:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:394:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:669:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:1156:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:1328:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:266:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:296:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:350:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:393:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:2446:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:2564:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Byte [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_high.c:3026:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1475:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_transparent.c:1358:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb2_reflective.c:277:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/mustek_usb2_reflective.c:305:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/mustek_usb2_reflective.c:277:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/mustek_usb2_transparent.c:145:39: style: Parameter 'pTarget' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_usb2_asic.c:512:29: warning: Uninitialized variable: MotorCurrentAndPhase->MotorDriverIs3967 [uninitvar] backends-1.2.1/backend/mustek_usb2_asic.c:2161:37: note: Calling function 'LLFSetMotorCurrentAndPhase', 2nd argument '&CurrentPhase' value is backends-1.2.1/backend/mustek_usb2_asic.c:512:29: note: Uninitialized variable: MotorCurrentAndPhase->MotorDriverIs3967 backends-1.2.1/backend/mustek_usb2_reflective.c:1210:13: style: Variable 'wLeftSide' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:1211:12: style: Variable 'wTopSide' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:1353:23: style: Variable 'wRWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:1354:23: style: Variable 'wGWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:1355:23: style: Variable 'wBWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1199:13: style: Variable 'wLeftSide' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1200:12: style: Variable 'wTopSide' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1283:23: style: Variable 'wRWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1284:23: style: Variable 'wGWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1285:23: style: Variable 'wBWhiteLevel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_transparent.c:1323:23: style: Variable 'wTAShadingMinus' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:762:12: style: Variable 'Temp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:805:28: style: Variable 'wRLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:806:28: style: Variable 'wGLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:807:28: style: Variable 'wBLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1002:31: style: Variable 'wRLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1003:31: style: Variable 'wGLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1004:31: style: Variable 'wBLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1005:32: style: Variable 'wRLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1006:32: style: Variable 'wGLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1007:32: style: Variable 'wBLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1446:28: style: Variable 'wRLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1447:28: style: Variable 'wGLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1448:28: style: Variable 'wBLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1452:24: style: Variable 'bNextPixel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1699:31: style: Variable 'wRLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1700:31: style: Variable 'wGLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1701:31: style: Variable 'wBLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1702:32: style: Variable 'wRLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1703:32: style: Variable 'wGLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1704:32: style: Variable 'wBLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:1708:24: style: Variable 'bNextPixel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2132:27: style: Variable 'wLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2226:30: style: Variable 'wLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2227:31: style: Variable 'wLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2408:27: style: Variable 'wLinePos' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2499:30: style: Variable 'wLinePosOdd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2500:31: style: Variable 'wLinePosEven' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:2503:24: style: Variable 'bNextPixel' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:3174:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_high.c:3175:25: style: Variable 'wLines' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb2_reflective.c:77:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:158:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:366:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:600:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1117:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIND_LEFT_TOP_WIDTH_IN_DIP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1298:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1348:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_CALIBRATION__16BITS_HEIGHT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1763:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_wScanLinesPerBlock [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_reflective.c:1887:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:78:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:150:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:309:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:507:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:550:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:637:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:1129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TA_FIND_LEFT_TOP_WIDTH_IN_DIP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:1304:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_CALIBRATION__16BITS_HEIGHT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb2_transparent.c:1664:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_FUNC [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/mustek_usb_high.c:1791:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/mustek_usb_high.c:1049:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb_high.c:2323:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb_high.c:2738:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/mustek_usb_high.c:1758:26: style: Condition 'max_level==threshold' is always true [knownConditionTrueFalse] backends-1.2.1/backend/mustek_usb_high.c:1746:21: note: Assuming that condition 'max_level>threshold' is not redundant backends-1.2.1/backend/mustek_usb_high.c:1752:26: note: Assuming that condition 'max_levelthreshold' is not redundant backends-1.2.1/backend/mustek_usb_high.c:1780:26: note: Assuming that condition 'max_levelk_white_level' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/mustek_usb_high.c:97:22: note: cal->k_white_level is assigned backends-1.2.1/backend/mustek_usb_high.c:109:22: note: cal->k_white_level is overwritten backends-1.2.1/backend/mustek_usb_low.c:2417:3: style: Statements following 'return' will never be executed. [unreachableCode] backends-1.2.1/backend/mustek_usb_high.c:274:3: style: Statements following 'return' will never be executed. [unreachableCode] backends-1.2.1/backend/mustek_usb_low.c:55:25: style:inconclusive: Function 'usb_low_init' argument 1 names different: declaration 'chip' definition 'chip_address'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_usb_low.h:237:44: note: Function 'usb_low_init' argument 1 names different: declaration 'chip' definition 'chip_address'. backends-1.2.1/backend/mustek_usb_low.c:55:25: note: Function 'usb_low_init' argument 1 names different: declaration 'chip' definition 'chip_address'. backends-1.2.1/backend/mustek_usb_low.c:2128:49: style:inconclusive: Function 'usb_low_set_ad_timing' argument 2 names different: declaration 'pattern' definition 'data'. [funcArgNamesDifferent] backends-1.2.1/backend/mustek_usb_low.h:393:68: note: Function 'usb_low_set_ad_timing' argument 2 names different: declaration 'pattern' definition 'data'. backends-1.2.1/backend/mustek_usb_low.c:2128:49: note: Function 'usb_low_set_ad_timing' argument 2 names different: declaration 'pattern' definition 'data'. backends-1.2.1/backend/mustek_usb_high.c:446:14: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_high.c:476:14: style: Variable 'pattern' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_high.c:572:14: style: Variable 'gray_src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_high.c:619:14: style: Variable 'gray_src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_mid.c:1054:14: style: Variable 'dpi_list' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_mid.c:2494:40: style: Parameter 'chip' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_usb_mid.c:2503:41: style: Parameter 'chip' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_usb_mid.c:2513:33: style: Parameter 'chip' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/mustek_usb_mid.c:2515:14: style: Variable 'dpi_list' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/mustek_usb_high.c:62:17: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:346:20: style: Variable 'average' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:574:17: style: Variable 'base' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:575:19: style: Variable 'value' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:621:17: style: Variable 'base' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:622:19: style: Variable 'value' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:669:17: style: Variable 'base' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:670:19: style: Variable 'value' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/mustek_usb_high.c:1791:13: style: Variable 'target' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/nec.c:1871:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/net.c:942:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/niash.c:823:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/niash_core.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:204:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:655:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:725:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:807:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:936:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:969:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:1179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:1200:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:1242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_core.c:684:22: style: Condition '(iExpTime%8)!=0' is always false [knownConditionTrueFalse] backends-1.2.1/backend/niash_core.c:683:14: note: Assignment 'iExpTime=5408', assigned value is 5408 backends-1.2.1/backend/niash_core.c:684:22: note: Condition '(iExpTime%8)!=0' is always false backends-1.2.1/backend/niash_core.c:301:44: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] backends-1.2.1/backend/niash_core.c:302:44: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] backends-1.2.1/backend/niash_core.c:256:25: style:inconclusive: Function 'NiashClose' argument 1 names different: declaration 'pHWParams' definition 'pHWPar'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_core.h:91:37: note: Function 'NiashClose' argument 1 names different: declaration 'pHWParams' definition 'pHWPar'. backends-1.2.1/backend/niash_core.c:256:25: note: Function 'NiashClose' argument 1 names different: declaration 'pHWParams' definition 'pHWPar'. backends-1.2.1/backend/niash_core.c:78:36: style: Parameter 'pabOld' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:310:38: style: Parameter 'pabGammaR' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:310:64: style: Parameter 'pabGammaG' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:311:24: style: Parameter 'pabGammaB' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:311:50: style: Parameter 'pabCalibTable' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:312:45: style: Parameter 'pHWPar' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:435:52: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:559:53: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:843:19: style: Parameter 'pabRed' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:843:42: style: Parameter 'pabGrn' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:844:19: style: Parameter 'pabBlu' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:1102:26: style: Parameter 'pabBuf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:1122:18: style: Variable 'pabPixel' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/niash_core.c:1173:22: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:1184:22: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_core.c:1351:25: style: Parameter 'pHWParams' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/niash_xfer.c:77:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:126:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:254:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:286:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/niash_xfer.c:65:61: style:inconclusive: Function 'MatchUsbDevice' argument 3 names different: declaration 'ppeModel' definition 'ppModel'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:90:23: note: Function 'MatchUsbDevice' argument 3 names different: declaration 'ppeModel' definition 'ppModel'. backends-1.2.1/backend/niash_xfer.c:65:61: note: Function 'MatchUsbDevice' argument 3 names different: declaration 'ppeModel' definition 'ppModel'. backends-1.2.1/backend/niash_xfer.c:166:21: style:inconclusive: Function 'NiashXferClose' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:78:33: note: Function 'NiashXferClose' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:166:21: note: Function 'NiashXferClose' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:195:20: style:inconclusive: Function 'NiashWriteReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:80:32: note: Function 'NiashWriteReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:195:20: note: Function 'NiashWriteReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:212:19: style:inconclusive: Function 'NiashReadReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:82:31: note: Function 'NiashReadReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:212:19: note: Function 'NiashReadReg' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:228:21: style:inconclusive: Function 'NiashWriteBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:84:33: note: Function 'NiashWriteBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:228:21: note: Function 'NiashWriteBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:262:20: style:inconclusive: Function 'NiashReadBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:86:32: note: Function 'NiashReadBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:262:20: note: Function 'NiashReadBulk' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:294:18: style:inconclusive: Function 'NiashWakeup' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. [funcArgNamesDifferent] backends-1.2.1/backend/niash_xfer.h:87:30: note: Function 'NiashWakeup' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:294:18: note: Function 'NiashWakeup' argument 1 names different: declaration 'iXferHandle' definition 'iHandle'. backends-1.2.1/backend/niash_xfer.c:228:45: style: Parameter 'pabBuf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5.c:156:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/p5_device.c:158:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_io2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:172:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPPADR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:292:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG1 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:326:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:395:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:456:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG3 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:605:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:626:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG9 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:637:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_proc [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:730:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_proc [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:871:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SENSOR_PIXELS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:979:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_proc [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1042:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_RESOLUTIONS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1138:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1264:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1296:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1364:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1417:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SENSOR_PIXELS [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/p5_device.c:1382:31: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] backends-1.2.1/backend/p5_device.c:1439:7: error: Resource leak: dbg [resourceLeak] backends-1.2.1/backend/p5_device.c:1457:7: error: Resource leak: dbg [resourceLeak] backends-1.2.1/backend/p5_device.c:1468:7: error: Resource leak: dbg [resourceLeak] backends-1.2.1/backend/p5_device.c:961:12: style: Variable 'counter' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/p5_device.c:954:12: note: counter is assigned backends-1.2.1/backend/p5_device.c:961:12: note: counter is overwritten backends-1.2.1/backend/p5_device.c:985:16: style: Variable 'detector' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/p5_device.c:984:16: note: detector is assigned backends-1.2.1/backend/p5_device.c:985:16: note: detector is overwritten backends-1.2.1/backend/p5_device.c:1095:9: style: Variable 'count' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/p5_device.c:1094:9: note: count is assigned backends-1.2.1/backend/p5_device.c:1095:9: note: count is overwritten backends-1.2.1/backend/p5_device.c:705:3: style: Statements following 'return' will never be executed. [unreachableCode] backends-1.2.1/backend/p5_device.c:251:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:259:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:1133:26: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:1182:26: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:1243:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:1243:44: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:1263:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/p5_device.c:1362:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/p5_device.c:967:11: style: Variable 'counter' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/p5_device.c:1095:9: style: Variable 'count' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pie.c:1744:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_pie [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:2005:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_pie [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:2598:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_pie [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:2739:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_pie [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:2931:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_pie [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:3704:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:3740:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie.c:3797:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pie-scsidef.h:64:57: style:inconclusive: Boolean expression '!val' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] backends-1.2.1/backend/pie.c:2063:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pie.c:2323:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pie.c:2328:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pie.c:2366:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pie.c:2063:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/pie.c:2328:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/pie.c:346:44: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:1472:31: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:1509:38: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:1574:46: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:1955:68: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:2338:33: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:2500:33: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie.c:2654:18: style: Variable 'red' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pie.c:2654:24: style: Variable 'green' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pie.c:2654:32: style: Variable 'blue' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pie.c:3199:16: style: Variable 'scanner' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pie.c:3812:16: style: Variable 'scanner' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pie-scsidef.h:66:47: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie-scsidef.h:71:44: style: Parameter 'pnt' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pie-scsidef.h:83:45: style: Parameter 'pnt' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_buffer.c:201:0: error: #error mmap(2) not available, aborting [preprocessorErrorDirective] backends-1.2.1/backend/pieusb_scancmd.c:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:225:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:360:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:395:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:462:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:488:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:566:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:603:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:667:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:739:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:823:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:851:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:925:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:944:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:977:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:1031:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:1088:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:1175:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_scancmd.c:1204:27: warning: Function '_prep_scsi_cmd' argument order different: declaration 'command_bytes, command, size' definition 'command, code, size' [funcArgOrderDifferent] backends-1.2.1/backend/pieusb_scancmd.c:64:39: note: Function '_prep_scsi_cmd' argument order different: declaration 'command_bytes, command, size' definition 'command, code, size' backends-1.2.1/backend/pieusb_scancmd.c:1204:27: note: Function '_prep_scsi_cmd' argument order different: declaration 'command_bytes, command, size' definition 'command, code, size' backends-1.2.1/backend/pieusb_scancmd.c:148:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_scancmd.c:526:40: style: Variable 'exptime' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pieusb_scancmd.c:563:43: style: Variable 'color' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pieusb_specific.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:505:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:628:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1162:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1214:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1631:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1720:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1783:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1825:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1875:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2053:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2204:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2322:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2360:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:2516:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_specific.c:1067:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/pieusb_specific.c:1843:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/pieusb_specific.c:1845:7: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/pieusb_specific.c:1843:5: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/pieusb_specific.c:1207:53: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_specific.c:1207:89: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_specific.c:2189:22: style: Variable 'parameters' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pieusb_specific.c:2316:42: style: Parameter 'scanner' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_specific.c:1067:21: style: Variable 'config_line' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pieusb_specific.c:1382:14: style: Variable 'smooth' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pieusb_usb.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_usb.c:247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_usb.c:344:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_usb.c:471:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_usb.c:518:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pieusb_usb.c:477:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pieusb_usb.c:423:41: style: Expression is always false because 'else if' condition matches previous condition at line 419. [multiCondition] backends-1.2.1/backend/pieusb_usb.c:528:17: style: Local variable 'st' shadows outer variable [shadowVariable] backends-1.2.1/backend/pieusb_usb.c:514:15: note: Shadowed declaration backends-1.2.1/backend/pieusb_usb.c:528:17: note: Shadow variable backends-1.2.1/backend/pieusb_usb.c:163:16: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_usb.c:380:48: style: Parameter 'sense' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pieusb_usb.c:463:14: style: Variable 'sequence' can be declared as const array [constVariable] backends-1.2.1/backend/pieusb_usb.c:311:18: style: Variable 'usb_status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pint.c:567:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/pixma/pixma.c:158:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt__group_5 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:172:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:237:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:301:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_button_1 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:332:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:343:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sod [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:387:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_source [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:457:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_source [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:528:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sod [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:578:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_UNSUPPORTED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:632:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_CONSTRAINT_NONE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:684:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sod [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:897:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:915:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_mode [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1025:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_gamma_table [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1064:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1080:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1113:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_button_controlled [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1222:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1269:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1331:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1378:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable j_common_ptr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1408:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1553:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1662:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1706:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1721:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1816:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_last [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1833:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1879:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1907:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1983:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:2057:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:2075:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:2097:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma.c:1525:26: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] backends-1.2.1/backend/pixma/pixma.c:2095:4: warning: Either the condition '!fd' is redundant or there is possible null pointer dereference: fd. [nullPointerRedundantCheck] backends-1.2.1/backend/pixma/pixma.c:2096:14: note: Assuming that condition '!fd' is not redundant backends-1.2.1/backend/pixma/pixma.c:2095:4: note: Null pointer dereference backends-1.2.1/backend/pixma/pixma.c:684:27: style: Variable 'sod' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma.c:1072:27: style: Parameter 'ss' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pixma/pixma.c:1876:29: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma.c:2072:3: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma.c:2093:3: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma.c:1751:19: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] backends-1.2.1/backend/pixma/pixma.c:521:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pixma/pixma.c:1015:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/pixma/pixma_bjnp.c:198:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:239:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:267:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:284:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:301:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:641:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:706:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:827:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NAMEREQD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:887:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:901:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:984:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1070:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1330:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1377:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1422:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1580:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1668:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:1789:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2061:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2349:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2369:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2442:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2531:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:2634:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/pixma/pixma_bjnp.c:343:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] backends-1.2.1/backend/pixma/pixma_bjnp.c:355:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] backends-1.2.1/backend/pixma/pixma_bjnp.c:1175:32: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] backends-1.2.1/backend/pixma/pixma_bjnp.c:1710:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pixma/pixma_bjnp.c:2200:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/pixma/pixma_bjnp.c:2456:45: style: Condition 'device[dn].scanner_data_left=w/8' is always true [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1493:11: note: Assuming that condition 'i=w/8' is always true backends-1.2.1/backend/pixma/pixma_mp800.c:2111:14: style: Variable 'sp->ydpi' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/pixma/pixma_mp800.c:2081:14: note: sp->ydpi is assigned backends-1.2.1/backend/pixma/pixma_mp800.c:2111:14: note: sp->ydpi is overwritten backends-1.2.1/backend/pixma/pixma_mp800.c:1644:14: style: The comparison 'test > 0' is always false. [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1619:10: note: 'test' is assigned value '0' here. backends-1.2.1/backend/pixma/pixma_mp800.c:1644:14: note: The comparison 'test > 0' is always false. backends-1.2.1/backend/pixma/pixma_mp800.c:1649:71: style: The comparison 'test > 0' is always false. [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1619:10: note: 'test' is assigned value '0' here. backends-1.2.1/backend/pixma/pixma_mp800.c:1649:71: note: The comparison 'test > 0' is always false. backends-1.2.1/backend/pixma/pixma_mp800.c:1679:107: style: The comparison 'test > 0' is always false. [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1619:10: note: 'test' is assigned value '0' here. backends-1.2.1/backend/pixma/pixma_mp800.c:1679:107: note: The comparison 'test > 0' is always false. backends-1.2.1/backend/pixma/pixma_mp800.c:1691:71: style: The comparison 'test > 0' is always false. [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1619:10: note: 'test' is assigned value '0' here. backends-1.2.1/backend/pixma/pixma_mp800.c:1691:71: note: The comparison 'test > 0' is always false. backends-1.2.1/backend/pixma/pixma_mp800.c:1747:20: style: The comparison 'test == 0' is always true. [knownConditionTrueFalse] backends-1.2.1/backend/pixma/pixma_mp800.c:1619:10: note: 'test' is assigned value '0' here. backends-1.2.1/backend/pixma/pixma_mp800.c:1747:20: note: The comparison 'test == 0' is always true. backends-1.2.1/backend/pixma/pixma_mp800.c:421:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1034:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1127:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1270:12: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1311:47: style: Parameter 'colshft' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1344:53: style: Parameter 'colshft' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1391:72: style: Parameter 'colshft' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/pixma/pixma_mp800.c:1900:12: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/pixma/pixma_mp800.c:2053:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/plustek-pp_dac.c:124:31: style: Variable 'ps->AsicReg.RD_Motor0Control' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/plustek-pp_dac.c:119:31: note: ps->AsicReg.RD_Motor0Control is assigned backends-1.2.1/backend/plustek-pp_dac.c:124:31: note: ps->AsicReg.RD_Motor0Control is overwritten backends-1.2.1/backend/plustek-pp_dac.c:1690:20: style: Local variable 'dw' shadows outer variable [shadowVariable] backends-1.2.1/backend/plustek-pp_dac.c:1648:12: note: Shadowed declaration backends-1.2.1/backend/plustek-pp_dac.c:1690:20: note: Shadow variable backends-1.2.1/backend/plustek-pp_dac.c:559:60: style: Parameter 'pwData' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_dac.c:933:44: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_dac.c:1511:64: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_dac.c:2589:57: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_dac.c:2589:74: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_dac.c:1581:14: warning: Uninitialized variable: *pbSave [uninitvar] backends-1.2.1/backend/plustek-pp_dac.c:1740:54: note: Calling function 'dacP96001FBKReading', 4th argument '&bRSave' value is backends-1.2.1/backend/plustek-pp_dac.c:1581:14: note: Uninitialized variable: *pbSave backends-1.2.1/backend/plustek-pp_detect.c:284:44: style: Condition 'ps->Shade.skipShadow' is always true [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_detect.c:282:33: note: Assignment 'ps->Shade.skipShadow=5', assigned value is 5 backends-1.2.1/backend/plustek-pp_detect.c:284:44: note: Condition 'ps->Shade.skipShadow' is always true backends-1.2.1/backend/plustek-pp_detect.c:402:10: style: Redundant initialization for 'result'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/plustek-pp_detect.c:381:14: note: result is initialized backends-1.2.1/backend/plustek-pp_detect.c:402:10: note: result is overwritten backends-1.2.1/backend/plustek-pp_genericio.c:488:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-pp_genericio.c:490:4: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_genericio.c:488:12: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_image.c:165:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/plustek-pp_image.c:302:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/backend/plustek-pp_image.c:165:2: style: Redundant assignment of 'ps' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_image.c:302:2: style: Redundant assignment of 'ps' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_image.c:341:2: style: Redundant assignment of 'ps' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_image.c:404:2: style: Redundant assignment of 'bL' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_image.c:518:56: style: Parameter 'pImage' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_image.c:165:2: style: Variable 'ps' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_image.c:302:2: style: Variable 'ps' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_image.c:341:2: style: Variable 'ps' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_image.c:404:2: style: Variable 'bL' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_io.c:260:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANEI_PP_DATAIN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_io.c:283:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANEI_PP_DATAIN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_io.c:74:14: style: struct member 'ioReadFuncDef::name' is never used. [unusedStructMember] backends-1.2.1/backend/plustek-pp_map.c:106:9: style: Variable 'pDitherSource' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-pp_map.c:237:4: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/plustek-pp_misc.c:191:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_misc.c:339:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_misc.c:381:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ModelStr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_misc.c:217:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-pp_misc.c:219:4: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_misc.c:217:2: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_misc.c:229:2: style: Redundant assignment of 'port' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_misc.c:270:36: style: Parameter 'timer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_misc.c:229:2: style: Variable 'port' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_motor.c:723:69: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] backends-1.2.1/backend/plustek-pp_motor.c:2264:11: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-pp_p12ccd.c:737:63: style: Parameter 'pDacTbl' can be declared as pointer to const. However it seems that 'fnDarkOffsetWolfson3797' is a callback function, if 'pDacTbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/plustek-pp_p12ccd.c:1018:34: note: You might need to cast the function pointer here backends-1.2.1/backend/plustek-pp_p12ccd.c:737:63: note: Parameter 'pDacTbl' can be declared as pointer to const backends-1.2.1/backend/plustek-pp_ptdrv.c:327:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_ptdrv.c:368:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_ptdrv.c:1219:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_ptdrv.c:665:26: style: Condition 'copy_from_user(&version,arg,sizeof(unsigned short))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:665:26: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:665:26: note: Condition 'copy_from_user(&version,arg,sizeof(unsigned short))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:717:22: style: Condition 'copy_from_user(&img,(struct image*)arg,size)' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:717:22: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:717:22: note: Condition 'copy_from_user(&img,(struct image*)arg,size)' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:757:22: style: Condition 'copy_from_user(&adj,(struct PPAdjDef*)arg,sizeof(struct PPAdjDef))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:757:22: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:757:22: note: Condition 'copy_from_user(&adj,(struct PPAdjDef*)arg,sizeof(struct PPAdjDef))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:793:22: style: Condition 'copy_from_user(&map,(struct MapDef*)arg,sizeof(struct MapDef))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:793:22: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:793:22: note: Condition 'copy_from_user(&map,(struct MapDef*)arg,sizeof(struct MapDef))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:812:24: style: Condition 'copy_from_user((voidpVoid)&ps->a_bMapTable[x_len*i],map.map,x_len)' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:812:24: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:812:24: note: Condition 'copy_from_user((voidpVoid)&ps->a_bMapTable[x_len*i],map.map,x_len)' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:825:23: style: Condition 'copy_from_user((voidpVoid)&ps->a_bMapTable[x_len*idx],map.map,x_len)' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:825:23: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:825:23: note: Condition 'copy_from_user((voidpVoid)&ps->a_bMapTable[x_len*idx],map.map,x_len)' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:845:22: style: Condition 'copy_from_user(&sInf,(struct ScanInfo*)arg,sizeof(struct ScanInfo))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:845:22: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:845:22: note: Condition 'copy_from_user(&sInf,(struct ScanInfo*)arg,sizeof(struct ScanInfo))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:869:21: style: Condition 'copy_to_user((struct ScanInfo*)arg,&sInf,sizeof(struct ScanInfo))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:869:21: note: Calling function 'copy_to_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:869:21: note: Condition 'copy_to_user((struct ScanInfo*)arg,&sInf,sizeof(struct ScanInfo))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:895:21: style: Condition 'copy_to_user((struct StartScan*)arg,pstart,sizeof(struct StartScan))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:895:21: note: Calling function 'copy_to_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:895:21: note: Condition 'copy_to_user((struct StartScan*)arg,pstart,sizeof(struct StartScan))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:906:21: style: Condition 'copy_from_user(&cancel,arg,sizeof(short))' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:906:21: note: Calling function 'copy_from_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:906:21: note: Condition 'copy_from_user(&cancel,arg,sizeof(short))' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:1136:28: style: Condition 'copy_to_user(buffer,scaleBuf,ps->DataInf.dwAppPhyBytesPerLine)' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:1136:28: note: Calling function 'copy_to_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:1136:28: note: Condition 'copy_to_user(buffer,scaleBuf,ps->DataInf.dwAppPhyBytesPerLine)' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:1141:28: style: Condition 'copy_to_user(buffer,ps->Scan.bp.pMonoBuf,ps->DataInf.dwAppPhyBytesPerLine)' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_ptdrv.c:1141:28: note: Calling function 'copy_to_user' returns 0 backends-1.2.1/backend/plustek-pp_ptdrv.c:1141:28: note: Condition 'copy_to_user(buffer,ps->Scan.bp.pMonoBuf,ps->DataInf.dwAppPhyBytesPerLine)' is always false backends-1.2.1/backend/plustek-pp_ptdrv.c:551:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-pp_ptdrv.c:554:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_ptdrv.c:551:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_ptdrv.c:564:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-pp_ptdrv.c:567:5: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_ptdrv.c:564:3: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-pp_ptdrv.c:279:5: style: Redundant assignment of 'sig_num' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_ptdrv.c:373:2: style: Redundant assignment of 'ps' to itself. [selfAssignment] backends-1.2.1/backend/plustek-pp_ptdrv.c:279:5: style: Variable 'sig_num' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_ptdrv.c:373:2: style: Variable 'ps' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_scale.c:65:40: style: Parameter 'inBuf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_scale.c:116:20: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-pp_tpa.c:804:35: style: Redundant initialization for 'pwSum'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/plustek-pp_tpa.c:792:25: note: pwSum is initialized backends-1.2.1/backend/plustek-pp_tpa.c:804:35: note: pwSum is overwritten backends-1.2.1/backend/plustek-pp_tpa.c:318:55: error: Division by zero. [zerodiv] backends-1.2.1/backend/plustek-pp_tpa.c:298:27: note: Assignment 'wRedTemp=wGreenTemp=wBlueTemp=0', assigned value is 0 backends-1.2.1/backend/plustek-pp_tpa.c:304:49: note: Assuming condition is false backends-1.2.1/backend/plustek-pp_tpa.c:318:55: note: Division by zero backends-1.2.1/backend/plustek-pp_tpa.c:696:15: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-pp_tpa.c:792:19: style: Variable 'pwSum' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-pp_wrapper.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:94:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:110:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_IOCTL_VERSION [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:226:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_GET_CAPABILITIES [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:236:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_GET_LENSINFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_GET_CROPINFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:256:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_PUT_IMAGEINFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:266:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_SET_ENV [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_START_SCAN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:296:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:332:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PTDRV_STOP_SCAN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-pp_wrapper.c:121:14: style: The if condition is the same as the previous if condition [duplicateCondition] backends-1.2.1/backend/plustek-pp_wrapper.c:113:14: note: First condition backends-1.2.1/backend/plustek-pp_wrapper.c:121:14: note: Second condition backends-1.2.1/backend/plustek-pp_wrapper.c:115:9: style: Condition '0!=result' is always true [knownConditionTrueFalse] backends-1.2.1/backend/plustek-pp_wrapper.c:114:21: note: Calling function 'PtDrvInit' returns -1 backends-1.2.1/backend/plustek-pp_wrapper.c:114:21: note: Assignment 'result=PtDrvInit(dev_name,dev->adj.mov)', assigned value is -1 backends-1.2.1/backend/plustek-pp_wrapper.c:115:9: note: Condition '0!=result' is always true backends-1.2.1/backend/plustek-pp_wrapper.c:310:8: style: Variable 'm.map' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/plustek-pp_wrapper.c:294:8: note: m.map is assigned backends-1.2.1/backend/plustek-pp_wrapper.c:310:8: note: m.map is overwritten backends-1.2.1/backend/plustek-pp_wrapper.c:83:48: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_wrapper.c:92:38: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_wrapper.c:213:41: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-pp_wrapper.c:350:45: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usb.c:129:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:164:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WAF_BYPASS_CALIBRATION [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:347:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:410:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:447:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Settings [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DevList [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:507:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:575:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:798:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:810:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:832:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:857:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:893:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:1051:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:1073:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:1132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:1440:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usb.c:1180:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usb.c:188:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usb.c:443:44: style: Parameter 'usbIdStr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usb.c:1430:11: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcal.c:108:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:151:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:188:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:214:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDEAL_GainNormal [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:267:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:478:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDEAL_GainNormal [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:520:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:691:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WAF_INC_DARKTGT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:767:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:952:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:1080:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:1203:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcal.c:336:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcal.c:344:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcal.c:578:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcal.c:822:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcal.c:109:13: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcal.c:183:9: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcal.c:515:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcal.c:661:48: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcal.c:662:64: style: Parameter 'zc' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcal.c:664:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcal.c:763:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcalfile.c:110:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:212:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:352:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANDATATYPE_Color [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:374:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:492:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:587:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:666:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:770:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:821:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbcalfile.c:596:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcalfile.c:711:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcalfile.c:718:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbcalfile.c:103:35: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcalfile.c:106:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcalfile.c:142:37: style: Parameter 'except' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcalfile.c:203:34: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcalfile.c:341:13: style: Variable 'param' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcalfile.c:455:10: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcalfile.c:490:13: style: Variable 'scanning' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbcalfile.c:576:31: style: Parameter 'dark' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcalfile.c:576:46: style: Parameter 'white' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbcalfile.c:734:11: style: Variable 'p_src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:121:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:154:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:170:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODEL_LAST [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:193:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:201:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ONE_CH_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:209:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVCAPSFLAG_SheetFed [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:217:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANFLAG_Calibration [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:235:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MEASURE_BASE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:283:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:315:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:364:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRYSTAL_FREQ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:464:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVE_ToShading [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:679:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVE_EjectAllPapers [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:855:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:901:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:946:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1018:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MIO6 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1067:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1153:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1184:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1203:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODEL_HuaLien [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1259:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1390:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1497:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1524:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1553:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1571:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1615:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1638:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1685:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:1743:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbhw.c:332:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:397:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:425:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:707:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:814:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:883:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:1458:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbhw.c:256:14: style: Condition 'value==0' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-usbhw.c:251:14: note: Assuming that condition 'value==0' is not redundant backends-1.2.1/backend/plustek-usbhw.c:256:14: note: Condition 'value==0' is always false backends-1.2.1/backend/plustek-usbhw.c:1066:11: style: Condition 'NULL==hw' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-usbhw.c:1258:11: style: Condition 'NULL==scanning' is always false [knownConditionTrueFalse] backends-1.2.1/backend/plustek-usbhw.c:118:17: style: Variable 'bytewise' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:215:40: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbhw.c:352:17: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:457:15: style: Variable 'clk' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:674:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:712:17: style: Variable 'clk' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:1250:17: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:1251:17: style: Variable 'scanning' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:1252:17: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbhw.c:1740:18: style: Variable 'caps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbimg.c:223:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:252:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:291:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:308:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:352:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:376:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:404:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:447:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:492:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:529:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:564:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:601:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:661:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:723:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:750:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:785:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:809:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:831:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:872:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:916:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:959:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1003:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1094:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1182:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1219:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1260:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1320:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1378:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1428:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1476:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1526:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1577:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1619:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1665:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_ADF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1714:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1901:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbimg.c:1422:24: style: Variable 'src' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbimg.c:1699:12: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbimg.c:1700:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbimg.c:1899:11: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbimg.c:1456:19: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-usbio.c:103:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:148:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANDATATYPE_Color [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:172:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:260:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:285:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:326:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LM9831 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbio.c:98:45: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbio.c:166:42: style: Parameter 'cmp' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbio.c:324:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbmap.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbmap.c:127:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbmap.c:120:12: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbmap.c:125:21: style: Variable 'fInverse' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek-usbscan.c:164:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANDATATYPE_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:252:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MODEL_Tokyo600 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:298:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ONE_CH_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:350:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCANDATATYPE_Color [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:404:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAM_Gain [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:517:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRYSTAL_FREQ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:545:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LM9831 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:593:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:666:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:783:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:860:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:924:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_CLK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1069:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ONE_CH_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1142:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1161:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1336:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1418:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1499:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1538:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1583:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbscan.c:1280:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbscan.c:1316:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbscan.c:1478:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbscan.c:1480:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbscan.c:1421:17: style: Redundant condition: The condition 'value == 3' is redundant since 'value != 2' is sufficient. [redundantCondition] backends-1.2.1/backend/plustek-usbscan.c:1005:17: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-usbscan.c:1010:12: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbscan.c:1005:17: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbscan.c:134:9: style: Variable 'div_list' can be declared as const array [constVariable] backends-1.2.1/backend/plustek-usbscan.c:155:12: style: Variable 'scanning' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:232:12: style: Variable 'scanning' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:283:54: style: Parameter 'pParam' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbscan.c:285:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:384:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:510:53: style: Parameter 'pParam' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbscan.c:514:10: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:539:10: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:590:10: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:662:12: style: Variable 'sCaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:762:10: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:790:52: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbscan.c:813:15: style: Variable 'motor' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:910:52: style: Parameter 'pParam' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbscan.c:913:15: style: Variable 'clk' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:915:15: style: Variable 'sCaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1065:10: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1154:13: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1155:13: style: Variable 'pdParam' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1332:15: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1334:15: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1450:18: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbscan.c:1536:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbscan.c:1580:13: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:132:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:205:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_CLK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:285:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANNEL_green [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANNEL_green [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:375:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_Reflection [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:706:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:738:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:788:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1207:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDEAL_Offset [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1580:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1743:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Red [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1792:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Red [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1838:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Red [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1867:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WAF_SKIP_FINE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2202:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2238:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScanParam [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2313:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2402:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2537:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:2597:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:3015:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SENSORORDER_rgb [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:3056:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/plustek-usbshading.c:1665:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbshading.c:1937:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbshading.c:1945:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbshading.c:2970:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/plustek-usbshading.c:133:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbshading.c:868:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbshading.c:1350:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] backends-1.2.1/backend/plustek-usbshading.c:614:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-usbshading.c:619:4: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbshading.c:614:9: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbshading.c:2841:16: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] backends-1.2.1/backend/plustek-usbshading.c:2843:11: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbshading.c:2841:16: note: Found duplicate branches for 'if' and 'else'. backends-1.2.1/backend/plustek-usbshading.c:371:13: style: Variable 'sCaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:390:13: style: Variable 'sCaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:391:13: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:735:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/plustek-usbshading.c:1257:10: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:1455:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:1456:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:2233:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:2308:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:2390:12: style: Variable 'scanning' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:2392:12: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:2592:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3008:12: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3009:12: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3050:13: style: Variable 'scaps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3051:13: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3052:13: style: Variable 'hw' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:3053:13: style: Variable 'param' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/plustek-usbshading.c:1104:17: style: Variable 'fRepeatITA' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/plustek.c:1433:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/plustek_pp.c:1131:13: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/pnm.c:505:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/qcam.c:1442:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/ricoh-scsi.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/ricoh-scsi.c:396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/ricoh-scsi.c:405:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/ricoh-scsi.c:405:15: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] backends-1.2.1/backend/ricoh-scsi.c:157:41: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ricoh-scsi.c:225:47: style: Parameter 'rwd' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ricoh-scsi.c:369:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/ricoh.c:483:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/ricoh2.c:281:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_BACKEND_NAME [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/ricoh2.c:815:29: style: Checking if unsigned expression 'device->bytes_to_read' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/ricoh2.c:855:29: style: Checking if unsigned expression 'device->bytes_to_read' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/ricoh2.c:870:18: style: Variable 'device' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/ricoh2.c:887:18: style: Variable 'device' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/ricoh2.c:931:18: style: Variable 'device' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/ricoh2_buffer.c:159:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/ricoh2.c:672:15: style: Variable 'magic1[7]' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/rts8891.c:306:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/rts8891_low.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts8891_low.c:172:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTROL_REG [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts8891_low.c:227:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTROL_REG [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts8891_low.c:556:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONTROL_REG [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts8891_low.c:631:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTS88XX_MAX_XFER_SIZE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts8891_low.c:108:38: style: Condition 'i<0xb3' is always true [knownConditionTrueFalse] backends-1.2.1/backend/rts8891_low.c:105:17: note: Assuming that condition 'i<0xb3' is not redundant backends-1.2.1/backend/rts8891_low.c:108:38: note: Condition 'i<0xb3' is always true backends-1.2.1/backend/rts8891_low.c:651:44: style: Condition 'count==0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/rts8891_low.c:648:14: note: Assuming that condition 'count==0' is not redundant backends-1.2.1/backend/rts8891_low.c:651:44: note: Condition 'count==0' is always true backends-1.2.1/backend/rts8891_low.c:686:40: style: Condition 'count==0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/rts8891_low.c:683:17: note: Assuming that condition 'count==0' is not redundant backends-1.2.1/backend/rts8891_low.c:686:40: note: Condition 'count==0' is always true backends-1.2.1/backend/rts8891_low.c:79:49: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/rts8891_low.c:624:36: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/rts88xx_lib.c:191:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts88xx_lib.c:287:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts88xx_lib.c:474:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts88xx_lib.c:610:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_LEVEL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/rts88xx_lib.c:633:14: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/rts88xx_lib.c:631:12: note: Assignment 'status=SANE_STATUS_GOOD', assigned value is 0 backends-1.2.1/backend/rts88xx_lib.c:633:14: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/rts88xx_lib.c:666:18: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/rts88xx_lib.c:631:12: note: Assignment 'status=SANE_STATUS_GOOD', assigned value is 0 backends-1.2.1/backend/rts88xx_lib.c:665:41: note: Calling function 'sanei_rts88xx_nvram_ctrl' returns 0 backends-1.2.1/backend/rts88xx_lib.c:665:41: note: Assignment 'status=sanei_rts88xx_nvram_ctrl(devnum,2,local)', assigned value is 0 backends-1.2.1/backend/rts88xx_lib.c:666:18: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/rts88xx_lib.c:656:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] backends-1.2.1/backend/rts88xx_lib.c:705:42: style:inconclusive: Function 'sanei_rts88xx_set_scan_area' argument 1 names different: declaration 'reg' definition 'regs'. [funcArgNamesDifferent] backends-1.2.1/backend/rts88xx_lib.h:93:47: note: Function 'sanei_rts88xx_set_scan_area' argument 1 names different: declaration 'reg' definition 'regs'. backends-1.2.1/backend/rts88xx_lib.c:705:42: note: Function 'sanei_rts88xx_set_scan_area' argument 1 names different: declaration 'reg' definition 'regs'. backends-1.2.1/backend/rts88xx_lib.c:74:37: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/rts88xx_lib.c:454:38: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/rts88xx_lib.c:600:73: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/rts88xx_lib.c:651:10: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/s9036.c:826:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/sceptre.c:393:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCEPTRE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sceptre.c:1574:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCEPTRE_LINEART [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sceptre.c:1772:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCEPTRE_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sceptre.c:1943:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/sceptre.c:940:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sceptre.c:960:33: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sceptre.c:1440:20: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/sceptre.c:1994:20: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/sharp.c:2336:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/sm3600-color.c:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-color.c:152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_DEVICE_BUSY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-gray.c:220:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_EOF [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-gray.c:312:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_DEVICE_BUSY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-homerun.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-homerun.c:286:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-homerun.c:381:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-homerun.c:488:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/sm3600-homerun.c:494:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/sm3600-homerun.c:169:15: style: Variable 'bHolesOk' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/sm3600-homerun.c:113:11: note: bHolesOk is assigned backends-1.2.1/backend/sm3600-homerun.c:169:15: note: bHolesOk is overwritten backends-1.2.1/backend/sm3600-homerun.c:350:13: warning: Uninitialized variable: auchRow [uninitvar] backends-1.2.1/backend/sm3600-homerun.c:348:26: note: Assuming condition is false backends-1.2.1/backend/sm3600-homerun.c:350:13: note: Uninitialized variable: auchRow backends-1.2.1/backend/sm3600-scanmtek.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanmtek.c:196:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanmtek.c:220:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanmtek.c:254:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanmtek.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanmtek.c:192:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/sm3600-scanmtek.c:218:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/sm3600-scanmtek.c:249:70: style: Parameter 'pnGamma' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3600-scanusb.c:125:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanusb.c:166:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanusb.c:191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanusb.c:358:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanusb.c:414:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:173:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:210:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_CANCELLED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_CANCELLED [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:357:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3600-scanutil.c:197:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/sm3600-scanutil.c:345:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/sm3600-scanutil.c:346:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/sm3600.c:382:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/sm3840.c:141:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/sm3840_lib.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3840_lib.c:993:18: style: Condition '*firstbyte==255' is always true [knownConditionTrueFalse] backends-1.2.1/backend/sm3840_lib.c:989:30: note: Assignment 'testvalue=255', assigned value is 255 backends-1.2.1/backend/sm3840_lib.c:993:18: note: Condition '*firstbyte==255' is always true backends-1.2.1/backend/sm3840_lib.c:392:8: style: Local variable 'pixsize' shadows outer variable [shadowVariable] backends-1.2.1/backend/sm3840_lib.c:303:7: note: Shadowed declaration backends-1.2.1/backend/sm3840_lib.c:392:8: note: Shadow variable backends-1.2.1/backend/sm3840_lib.c:884:18: style: Local variable 'lut' shadows outer function [shadowFunction] backends-1.2.1/backend/sm3840_lib.c:675:1: note: Shadowed declaration backends-1.2.1/backend/sm3840_lib.c:884:18: note: Shadow variable backends-1.2.1/backend/sm3840_lib.c:243:43: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:243:67: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:499:44: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:500:52: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:684:32: style: Parameter 'buff' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:832:25: style: Parameter 'poly' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:990:18: style: Variable 'firstbyte' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/sm3840_lib.c:432:12: style: Variable 'lineptr' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/sm3840_lib.c:859:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/sm3840_scan.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/sm3840_scan.c:144:12: style: Parameter 'stname' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/sm3840_lib.c:117:15: warning: Uninitialized variable: params->lineart [uninitvar] backends-1.2.1/backend/sm3840_scan.c:128:19: note: Calling function 'prepare_params', 1st argument '¶ms' value is backends-1.2.1/backend/sm3840_lib.c:115:13: note: Assuming condition is false backends-1.2.1/backend/sm3840_lib.c:117:15: note: Uninitialized variable: params->lineart backends-1.2.1/backend/sm3840_scan.c:75:7: style: Unused variable: topline [unusedVariable] backends-1.2.1/backend/sm3840_scan.c:75:16: style: Unused variable: scanlines [unusedVariable] backends-1.2.1/backend/sm3840_scan.c:75:27: style: Unused variable: leftpix [unusedVariable] backends-1.2.1/backend/sm3840_scan.c:75:36: style: Unused variable: scanpix [unusedVariable] backends-1.2.1/backend/snapscan-mutex.c:140:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-mutex.c:168:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_RMID [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-mutex.c:161:5: warning: Return value of function semop() is not used. [ignoredReturnValue] backends-1.2.1/backend/snapscan-mutex.c:173:5: warning: Return value of function semop() is not used. [ignoredReturnValue] backends-1.2.1/backend/snapscan-mutex.c:178:5: warning: Return value of function semop() is not used. [ignoredReturnValue] backends-1.2.1/backend/snapscan-mutex.c:139:15: style: Local variable 'ipc_key' shadows outer variable [shadowVariable] backends-1.2.1/backend/snapscan-mutex.c:135:11: note: Shadowed declaration backends-1.2.1/backend/snapscan-mutex.c:139:15: note: Shadow variable backends-1.2.1/backend/snapscan-mutex.c:171:52: style: Parameter 'sem_id' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/snapscan-mutex.c:176:54: style: Parameter 'sem_id' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/snapscan-mutex.c:109:8: style: union member 'semun::val' is never used. [unusedStructMember] backends-1.2.1/backend/snapscan-mutex.c:110:21: style: union member 'semun::buf' is never used. [unusedStructMember] backends-1.2.1/backend/snapscan-mutex.c:111:24: style: union member 'semun::array' is never used. [unusedStructMember] backends-1.2.1/backend/snapscan-mutex.c:112:20: style: union member 'semun::__buf' is never used. [unusedStructMember] backends-1.2.1/backend/snapscan-options.c:340:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_COUNT [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-options.c:961:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_OPTION_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-options.c:975:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_CUSTOM_GAMMA [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-options.c:1075:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_OPTION_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-options.c:1481:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-options.c:1628:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-scsi.c:63:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:108:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:217:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:245:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:462:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SCSI_CMD_LEN [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:613:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:625:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:642:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:694:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:852:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:960:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1065:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1089:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1195:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1272:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRISA620 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1297:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1389:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_MAJOR_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1520:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1549:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERFECTION2480 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:1604:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-scsi.c:311:44: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/snapscan-scsi.c:1118:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/snapscan-sources.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:166:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_MINOR_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:284:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:298:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:330:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:363:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_DATA_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:379:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:491:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:536:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:613:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:646:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:705:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:893:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:953:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:1084:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:1132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:1159:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:1186:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:1210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-sources.c:240:15: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-sources.c:281:43: style: Parameter 'pself' can be declared as pointer to const. However it seems that 'FDSource_done' is a callback function, if 'pself' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/snapscan-sources.c:297:39: note: You might need to cast the function pointer here backends-1.2.1/backend/snapscan-sources.c:281:43: note: Parameter 'pself' can be declared as pointer to const backends-1.2.1/backend/snapscan-sources.c:321:16: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-sources.c:513:15: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-sources.c:696:19: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-sources.c:939:16: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/snapscan-usb.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:167:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:281:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_DATA_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:301:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_MAJOR_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:362:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:435:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:465:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_CALL_TRACE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:487:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REQUEST_SENSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:541:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/snapscan-usb.c:441:9: error: Memory leak: bqe [memleak] backends-1.2.1/backend/snapscan-options.c:958:31: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/sp15c.c:271:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/st400.c:679:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_debug_st400 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/st400.c:286:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/st400.c:1164:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/st400.c:173:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/st400.c:173:67: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/st400.c:437:41: style: Parameter 'result' can be declared as pointer to const. However it seems that 'st400_sense_handler' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/st400.c:1145:54: note: You might need to cast the function pointer here backends-1.2.1/backend/st400.c:437:41: note: Parameter 'result' can be declared as pointer to const backends-1.2.1/backend/st400.c:403:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] backends-1.2.1/backend/st400.c:185:26: style: struct member 'Anonymous3::lun' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:185:31: style: struct member 'Anonymous3::reserved' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:185:52: style: struct member 'Anonymous3::ctrl' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:250:26: style: struct member 'Anonymous5::lun' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:250:31: style: struct member 'Anonymous5::reserved' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:250:44: style: struct member 'Anonymous5::tr_len' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:310:18: style: struct member 'Anonymous6::lun' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:310:23: style: struct member 'Anonymous6::reserved1' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:310:48: style: struct member 'Anonymous6::ctrl' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:313:13: style: struct member 'Anonymous6::reserved2' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:313:45: style: struct member 'Anonymous6::reserved3' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:317:13: style: struct member 'Anonymous6::reserved4' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:318:13: style: struct member 'Anonymous6::reserved5' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:319:27: style: struct member 'Anonymous6::reserved6' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:362:26: style: struct member 'Anonymous7::lun' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:362:31: style: struct member 'Anonymous7::res' is never used. [unusedStructMember] backends-1.2.1/backend/st400.c:362:50: style: struct member 'Anonymous7::ctrl' is never used. [unusedStructMember] backends-1.2.1/backend/stubs.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:21:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_devices [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_option_descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable control_option [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:46:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_parameters [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_io_mode [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get_select_fd [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stubs.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cancel [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stv680.c:1319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STV680_COLOR_RGB [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stv680.c:1776:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STV680_COLOR_RAW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stv680.c:2049:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STV680_COLOR_RAW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/stv680.c:846:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/stv680.c:1152:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/stv680.c:1207:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] backends-1.2.1/backend/stv680.c:850:7: style: Condition 'status' is always false [knownConditionTrueFalse] backends-1.2.1/backend/stv680.c:834:14: note: Assuming that condition 'status!=SANE_STATUS_GOOD' is not redundant backends-1.2.1/backend/stv680.c:850:7: note: Condition 'status' is always false backends-1.2.1/backend/stv680.c:1172:37: style: Condition 'dev->real_bytes_left<=size' is always true [knownConditionTrueFalse] backends-1.2.1/backend/stv680.c:1170:32: note: Assuming that condition 'dev->real_bytes_left>size' is not redundant backends-1.2.1/backend/stv680.c:1172:37: note: Condition 'dev->real_bytes_left<=size' is always true backends-1.2.1/backend/stv680.c:1494:18: style: Condition 'status!=SANE_STATUS_GOOD' is always false [knownConditionTrueFalse] backends-1.2.1/backend/stv680.c:1237:13: note: Assignment 'status=SANE_STATUS_GOOD', assigned value is 0 backends-1.2.1/backend/stv680.c:1493:32: note: Calling function 'stv680_add_text' returns 0 backends-1.2.1/backend/stv680.c:1493:32: note: Assignment 'status=stv680_add_text(buf,vw,vh,dev->picmsg_ps)', assigned value is 0 backends-1.2.1/backend/stv680.c:1494:18: note: Condition 'status!=SANE_STATUS_GOOD' is always false backends-1.2.1/backend/stv680.c:2007:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/stv680.c:409:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/stv680.c:1194:66: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/stv680.c:1198:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/stv680.c:1202:8: style: Variable 'fmtstring' can be declared as const array [constVariable] backends-1.2.1/backend/stv680.c:1663:18: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/stv680.h:42:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/stv680.c:534:10: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/stv680.c:612:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/stv680.c:697:11: style: Variable 'status' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/stv680.c:719:15: style: Variable 'i' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/stv680.c:720:17: style: Variable 'val' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/stv680.c:1255:25: style: Variable 'bayer' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/tamarack.c:906:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/teco1.c:877:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco1.c:1348:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco1.c:1765:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco1.c:1985:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco1.c:1305:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/teco1.c:1257:18: style: Condition 'timeout>0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/teco1.c:1255:13: note: Assignment 'timeout=60', assigned value is 60 backends-1.2.1/backend/teco1.c:1264:18: note: Assuming condition is false backends-1.2.1/backend/teco1.c:1257:18: note: Condition 'timeout>0' is always true backends-1.2.1/backend/teco1.c:2111:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/teco1.c:616:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco1.c:621:17: style: Variable 'select' can be declared as const array [constVariable] backends-1.2.1/backend/teco1.c:794:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco1.c:1244:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco1.c:1614:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco1.c:2163:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco1.h:191:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco2.c:882:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_VM656A [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco2.c:1574:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco2.c:2180:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco2.c:2815:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco2.c:3067:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_VM656A [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco2.c:1243:25: warning: The 2nd memset() argument '0xffff' doesn't fit into an 'unsigned char'. [memsetValueOutOfRange] backends-1.2.1/backend/teco2.c:2113:18: style: Condition 'timeout>0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/teco2.c:2111:13: note: Assignment 'timeout=60', assigned value is 60 backends-1.2.1/backend/teco2.c:2120:18: note: Assuming condition is false backends-1.2.1/backend/teco2.c:2113:18: note: Condition 'timeout>0' is always true backends-1.2.1/backend/teco2.c:2427:51: style: Condition 'raw_output==0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/teco2.c:1231:11: warning: Either the condition 'tmp_buf==NULL' is redundant or there is possible null pointer dereference: tmp_buf. [nullPointerRedundantCheck] backends-1.2.1/backend/teco2.c:1248:16: note: Assuming that condition 'tmp_buf==NULL' is not redundant backends-1.2.1/backend/teco2.c:1231:11: note: Null pointer dereference backends-1.2.1/backend/teco2.c:1647:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/teco2.c:1637:10: note: status is assigned backends-1.2.1/backend/teco2.c:1647:10: note: status is overwritten backends-1.2.1/backend/teco2.c:3296:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/teco2.c:912:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco2.c:1518:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco2.c:1657:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco2.c:2100:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco2.c:2649:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco2.c:3351:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco2.h:214:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco3.c:730:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_GRAYSCALE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco3.c:1161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco3.c:1297:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_COLOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco3.c:1779:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TECO_BW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/teco3.c:1329:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/teco3.c:1082:18: style: Condition 'timeout>0' is always true [knownConditionTrueFalse] backends-1.2.1/backend/teco3.c:1080:13: note: Assignment 'timeout=60', assigned value is 60 backends-1.2.1/backend/teco3.c:1089:18: note: Assuming condition is false backends-1.2.1/backend/teco3.c:1082:18: note: Condition 'timeout>0' is always true backends-1.2.1/backend/teco3.c:2043:11: style: Condition 'status' is always false [knownConditionTrueFalse] backends-1.2.1/backend/teco3.c:2014:11: note: Assuming that condition 'status' is not redundant backends-1.2.1/backend/teco3.c:2031:22: note: Assuming condition is false backends-1.2.1/backend/teco3.c:2043:11: note: Condition 'status' is always false backends-1.2.1/backend/teco3.c:699:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/teco3.c:686:10: note: status is assigned backends-1.2.1/backend/teco3.c:699:10: note: status is overwritten backends-1.2.1/backend/teco3.c:2103:23: style: Checking if unsigned expression 'dev->bytes_left' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/teco3.c:551:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco3.c:650:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco3.c:1069:35: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco3.c:1105:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/teco3.c:1628:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco3.c:2155:17: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/teco3.h:205:29: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/test-picture.c:59:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_invert_endianess [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/test-picture.c:105:7: error: Memory leak: b [memleak] backends-1.2.1/backend/test-picture.c:50:26: style: Variable 'pattern_size' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:50:48: style: Variable 'pattern_distance' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:53:19: style: Variable 'lines' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:141:24: style: Variable 'color' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:389:33: style: Variable 'color_r' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:389:46: style: Variable 'color_g' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:389:59: style: Variable 'color_b' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:456:33: style: Variable 'color_r' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:456:46: style: Variable 'color_g' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:456:59: style: Variable 'color_b' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:679:27: style: Variable 'color_hi' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:679:41: style: Variable 'color_lo' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:680:29: style: Variable 'color_hi_r' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:680:45: style: Variable 'color_lo_r' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:681:29: style: Variable 'color_hi_g' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:681:45: style: Variable 'color_lo_g' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:682:29: style: Variable 'color_hi_b' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:682:45: style: Variable 'color_lo_b' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:784:27: style: Variable 'color_hi' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test-picture.c:784:41: style: Variable 'color_lo' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/test.c:1641:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/u12-ccd.c:333:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ScanMode_Mono [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:353:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_TPA [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:432:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:488:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ScanMode_AverageOut [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:529:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:585:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_TPA [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:664:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:777:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:819:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:850:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-ccd.c:719:58: style: Parameter 'sTbl' can be declared as pointer to const. However it seems that 'fnDarkOffsetWolfson3797' is a callback function, if 'sTbl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/u12-ccd.c:984:24: note: You might need to cast the function pointer here backends-1.2.1/backend/u12-ccd.c:719:58: note: Parameter 'sTbl' can be declared as pointer to const backends-1.2.1/backend/u12-hw.c:80:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCAN_LAMPS_ON [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:93:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:122:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _BUTTON_DISABLE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:133:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:225:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:286:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:307:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:341:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:481:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:689:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:744:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:795:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:836:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:867:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:915:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-hw.c:960:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:107:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:146:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:201:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:213:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:236:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:269:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:407:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:420:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:468:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:479:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:502:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:543:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:571:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-if.c:585:42: style: Condition 'dev->shade.skipShadow' is always true [knownConditionTrueFalse] backends-1.2.1/backend/u12-if.c:583:27: note: Assignment 'dev->shade.skipShadow=5', assigned value is 5 backends-1.2.1/backend/u12-if.c:585:42: note: Condition 'dev->shade.skipShadow' is always true backends-1.2.1/backend/u12-image.c:74:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ModeFifoBSel [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ModeFifoBSel [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:239:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:331:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:425:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:479:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:690:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:737:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:813:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-image.c:186:50: style: Parameter 'src' can be declared as pointer to const. However it seems that 'fnDataDirect' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/backend/u12-image.c:721:7: note: You might need to cast the function pointer here backends-1.2.1/backend/u12-image.c:186:50: note: Parameter 'src' can be declared as pointer to const backends-1.2.1/backend/u12-image.c:844:42: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-image.c:844:58: style: Parameter 'ib' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-image.c:873:20: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/u12-io.c:83:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TRUE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_TYPE_VENDOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_TYPE_VENDOR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:242:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:269:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:328:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_EPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:349:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_SPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:357:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EPPENABLE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:370:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CTRL_GENSIGNAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:387:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_EPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:402:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:418:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:451:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_SPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:474:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_EPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:498:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PP_MODE_EPP [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:515:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ADCADDR [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:533:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_WRITEDATAMODE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:546:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MODECONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:561:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:585:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:633:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_STATUS2 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:648:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:664:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:674:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:687:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SCANSTATECONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:726:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MODECONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:778:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:826:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_READ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-io.c:127:46: style: Parameter 'timer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-io.c:260:14: style: Variable 'len_info' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/u12-io.c:326:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-io.c:363:49: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-io.c:449:46: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-io.c:494:50: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-io.c:658:34: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-map.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-map.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:66:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANSTATE_BYTES [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DIR_FW [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MOTORFREERUNCOUNT1 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:106:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:141:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:179:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:203:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:281:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:314:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_256GRAY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:398:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:427:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-motor.c:459:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:123:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:461:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DA_SAMSUNG8531 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:472:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_256GRAY [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:517:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:547:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:643:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CCD_3799 [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:669:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:765:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SCANCONTROL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:797:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-shading.c:639:49: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/u12-tpa.c:61:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DBG_INFO [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-tpa.c:404:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SCANDEF_Negative [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/u12-tpa.c:414:32: style: Redundant initialization for 'pwSum'. The initialized value is overwritten before it is read. [redundantInitialization] backends-1.2.1/backend/u12-tpa.c:402:22: note: pwSum is initialized backends-1.2.1/backend/u12-tpa.c:414:32: note: pwSum is overwritten backends-1.2.1/backend/u12-tpa.c:402:16: style: Variable 'pwSum' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/u12.c:919:13: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/umax-usb.c:59:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_info [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-usb.c:90:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_info [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-usb.c:182:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_info [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-usb.c:250:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBG_info [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-usb.c:268:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-usb.c:247:31: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:4680:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax.c:5943:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax.c:7999:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax.c:8037:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax.c:8102:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax-scsidef.h:61:147: style:inconclusive: Boolean expression '!val' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] backends-1.2.1/backend/umax.c:1637:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax.c:1696:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax.c:1737:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax.c:7963:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax.c:7977:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax.c:309:18: style: Condition '*firstbyte==255' is always true [knownConditionTrueFalse] backends-1.2.1/backend/umax.c:306:24: note: Assignment 'testvalue=255', assigned value is 255 backends-1.2.1/backend/umax.c:309:18: note: Condition '*firstbyte==255' is always true backends-1.2.1/backend/umax.c:1210:13: style: Condition 'pix>missing_pixels' is always true [knownConditionTrueFalse] backends-1.2.1/backend/umax.c:1204:16: note: Assuming that condition 'pix<=missing_pixels' is not redundant backends-1.2.1/backend/umax.c:1210:13: note: Condition 'pix>missing_pixels' is always true backends-1.2.1/backend/umax.c:2582:6: error: Memory leak: average [memleak] backends-1.2.1/backend/umax.c:890:10: warning: Either the condition 'dev' is redundant or there is possible null pointer dereference: dev. [nullPointerRedundantCheck] backends-1.2.1/backend/umax.c:1064:13: note: Assuming that condition 'dev' is not redundant backends-1.2.1/backend/umax.c:890:10: note: Null pointer dereference backends-1.2.1/backend/umax.c:891:10: warning: Either the condition 'dev' is redundant or there is possible null pointer dereference: dev. [nullPointerRedundantCheck] backends-1.2.1/backend/umax.c:1064:13: note: Assuming that condition 'dev' is not redundant backends-1.2.1/backend/umax.c:891:10: note: Null pointer dereference backends-1.2.1/backend/umax.c:6882:7: style:inconclusive: Statements following 'break' will never be executed. [unreachableCode] backends-1.2.1/backend/umax.c:3354:25: style: Checking if unsigned expression 'dev->x_resolution' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:3374:25: style: Checking if unsigned expression 'dev->y_resolution' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:3432:24: style: Checking if unsigned expression 'dev->scanwidth' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:3445:25: style: Checking if unsigned expression 'dev->scanlength' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:3463:23: style: Checking if unsigned expression 'dev->scanwidth' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:3463:49: style: Checking if unsigned expression 'dev->scanlength' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax.c:5090:8: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/backend/umax.c:5029:6: note: Shadowed declaration backends-1.2.1/backend/umax.c:5090:8: note: Shadow variable backends-1.2.1/backend/umax.c:307:18: style: Variable 'firstbyte' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax.c:1250:71: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:1370:47: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:1455:53: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:1477:52: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:1922:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:4227:21: style: Variable 'pixelsource' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax.c:6356:16: style: Variable 'scanner' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax.c:8115:16: style: Variable 'scanner' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax-scsidef.h:64:47: style: Parameter 'pageaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax-scsidef.h:69:44: style: Parameter 'pnt' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax.c:2443:23: style: Variable 'width' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/umax.c:2444:23: style: Variable 'lines' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/umax.c:2445:23: style: Variable 'bytespp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/umax1220u-common.c:346:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PV8630_RMODE [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:387:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:455:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:501:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:550:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:608:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:629:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:689:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:831:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:891:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:988:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1053:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1086:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1180:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1238:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1316:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1480:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1655:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1751:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1823:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1864:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:1912:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2009:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2084:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_NO_MEM [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2138:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2188:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2266:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:2301:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax1220u-common.c:557:7: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] backends-1.2.1/backend/umax1220u-common.c:786:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax1220u-common.c:2168:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax1220u-common.c:2202:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/backend/umax1220u-common.c:1183:3: error: Memory leak: img [memleak] backends-1.2.1/backend/umax1220u-common.c:1241:3: error: Memory leak: img [memleak] backends-1.2.1/backend/umax1220u-common.c:1320:3: error: Memory leak: p [memleak] backends-1.2.1/backend/umax1220u-common.c:1484:3: error: Memory leak: p [memleak] backends-1.2.1/backend/umax1220u-common.c:1485:3: error: Memory leak: p [memleak] backends-1.2.1/backend/umax1220u-common.c:428:10: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/backend/umax1220u-common.c:424:5: note: i is assigned backends-1.2.1/backend/umax1220u-common.c:428:10: note: i is overwritten backends-1.2.1/backend/umax1220u-common.c:457:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax1220u-common.c:551:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] backends-1.2.1/backend/umax1220u-common.c:598:17: style: Variable 'opb3' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:619:17: style: Variable 'opb3' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:647:17: style: Variable 'opb' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:653:17: style: Variable 'opb1' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:659:17: style: Variable 'opb2' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:665:17: style: Variable 'opb4' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:672:17: style: Variable 'opc' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:677:17: style: Variable 'opd' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:857:17: style: Variable 'opb5' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:863:17: style: Variable 'opb7' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:870:17: style: Variable 'ope' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:874:17: style: Variable 'ope2' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:955:17: style: Variable 'opb5' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:961:17: style: Variable 'opb7' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:967:17: style: Variable 'ope' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:970:17: style: Variable 'ope2' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:1043:48: style: Parameter 'op2' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1043:68: style: Parameter 'op8' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1044:28: style: Parameter 'op1' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1044:48: style: Parameter 'op4' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1077:54: style: Parameter 'op2' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1077:74: style: Parameter 'op8' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1078:28: style: Parameter 'op1' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1078:48: style: Parameter 'op4' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u-common.c:1433:17: style: Variable 'ggamma' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:1608:17: style: Variable 'subsamp' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:1706:17: style: Variable 'subsamp' can be declared as const array [constVariable] backends-1.2.1/backend/umax1220u-common.c:2242:22: style: Variable 'base' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax1220u-common.c:2251:22: style: Variable 'base' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/umax1220u-common.c:2370:37: style: Parameter 'scan' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/umax1220u.c:585:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/umax_pp.c:820:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/umax_pp_mid.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable umax_pp [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:124:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:145:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:256:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:309:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:339:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:382:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:411:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:437:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:458:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _call [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/umax_pp_mid.c:250:37: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/v4l.c:431:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/backend/xerox_mfp-tcp.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-tcp.c:108:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-tcp.c:152:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-tcp.c:127:19: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] backends-1.2.1/backend/xerox_mfp-tcp.c:91:6: warning: Either the condition 'resplen' is redundant or there is possible null pointer dereference: resplen. [nullPointerRedundantCheck] backends-1.2.1/backend/xerox_mfp-tcp.c:70:17: note: Assuming that condition 'resplen' is not redundant backends-1.2.1/backend/xerox_mfp-tcp.c:91:6: note: Null pointer dereference backends-1.2.1/backend/xerox_mfp-tcp.c:86:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] backends-1.2.1/backend/xerox_mfp-tcp.c:102:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/backend/xerox_mfp.h:158:43: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] backends-1.2.1/backend/xerox_mfp-tcp.c:119:17: style: Variable 'devname' is assigned a value that is never used. [unreadVariable] backends-1.2.1/backend/xerox_mfp-usb.c:34:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-usb.c:65:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-usb.c:82:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp-usb.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/backend/xerox_mfp.c:894:1: error: There is an unknown macro here somewhere. Configuration is required. If ENTRY is a macro then please configure it. [unknownMacro] backends-1.2.1/frontend/jpegtopdf.c:158:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:230:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:257:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:314:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:509:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:674:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/jpegtopdf.c:152:38: style: Parameter 'lpSrc' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/jpegtopdf.c:501:14: style: Variable 'ProcSetImage' can be declared as const array [constVariable] backends-1.2.1/frontend/jpegtopdf.c:502:14: style: Variable 'ColorSpace' can be declared as const array [constVariable] backends-1.2.1/frontend/saned.c:326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:421:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIRE_DECODE [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1163:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1355:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIRE_DECODE [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1696:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1830:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIRE_DECODE [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:2408:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:2830:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3046:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3161:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3372:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:3476:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/saned.c:1193:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] backends-1.2.1/frontend/saned.c:1305:10: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] backends-1.2.1/frontend/saned.c:3020:10: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] backends-1.2.1/frontend/saned.c:3092:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] backends-1.2.1/frontend/saned.c:3117:17: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] backends-1.2.1/frontend/saned.c:520:5: error: Common realloc mistake: 'handle' nulled but not freed upon failure [memleakOnRealloc] backends-1.2.1/frontend/saned.c:3036:4: warning: Either the condition 'fds==NULL' is redundant or there is possible null pointer dereference: fds. [nullPointerRedundantCheck] backends-1.2.1/frontend/saned.c:3038:11: note: Assuming that condition 'fds==NULL' is not redundant backends-1.2.1/frontend/saned.c:3036:4: note: Null pointer dereference backends-1.2.1/frontend/saned.c:708:8: style: Variable 'cidr' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/frontend/saned.c:707:8: note: cidr is assigned backends-1.2.1/frontend/saned.c:708:8: note: cidr is overwritten backends-1.2.1/frontend/saned.c:3353:10: style: The comparison 'fd == -1' is always true. [knownConditionTrueFalse] backends-1.2.1/frontend/saned.c:3333:13: note: 'fd' is assigned value '-1' here. backends-1.2.1/frontend/saned.c:3353:10: note: The comparison 'fd == -1' is always true. backends-1.2.1/frontend/saned.c:1860:14: style: Local variable 'be_handle' shadows outer variable [shadowVariable] backends-1.2.1/frontend/saned.c:1825:15: note: Shadowed declaration backends-1.2.1/frontend/saned.c:1860:14: note: Shadow variable backends-1.2.1/frontend/saned.c:699:36: style: Parameter 'inaddr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/saned.c:699:60: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/saned.c:1153:9: style: Variable 'r_hostname' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/saned.c:1554:20: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/saned.c:3014:19: style: Variable 'serv' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/saned.c:3086:18: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/saned.c:3088:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/saned.c:3411:25: style: Parameter 'me' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/saned.c:1594:7: warning: Uninitialized variable: ret [uninitvar] backends-1.2.1/frontend/saned.c:1583:44: note: Assuming condition is false backends-1.2.1/frontend/saned.c:1594:7: note: Uninitialized variable: ret backends-1.2.1/frontend/saned.c:2222:11: style: Variable 'data_fd' is assigned a value that is never used. [unreadVariable] backends-1.2.1/frontend/scanimage.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:330:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:353:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:387:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:715:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:825:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:904:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1031:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1086:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1348:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1397:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1851:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1888:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:1992:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:2040:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:2047:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:2118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/scanimage.c:2747:8: style: The if condition is the same as the previous if condition [duplicateCondition] backends-1.2.1/frontend/scanimage.c:2736:8: note: First condition backends-1.2.1/frontend/scanimage.c:2747:8: note: Second condition backends-1.2.1/frontend/scanimage.c:2930:27: warning: Either the condition 'output_file' is redundant or there is possible null pointer dereference: output_file. [nullPointerRedundantCheck] backends-1.2.1/frontend/scanimage.c:2925:23: note: Assuming that condition 'output_file' is not redundant backends-1.2.1/frontend/scanimage.c:2930:27: note: Null pointer dereference backends-1.2.1/frontend/scanimage.c:1698:9: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/frontend/scanimage.c:1356:7: note: Shadowed declaration backends-1.2.1/frontend/scanimage.c:1698:9: note: Shadow variable backends-1.2.1/frontend/scanimage.c:1786:8: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/frontend/scanimage.c:1356:7: note: Shadowed declaration backends-1.2.1/frontend/scanimage.c:1786:8: note: Shadow variable backends-1.2.1/frontend/scanimage.c:2238:10: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/frontend/scanimage.c:2084:11: note: Shadowed declaration backends-1.2.1/frontend/scanimage.c:2238:10: note: Shadow variable backends-1.2.1/frontend/scanimage.c:2259:7: style: Local variable 'i' shadows outer variable [shadowVariable] backends-1.2.1/frontend/scanimage.c:2238:10: note: Shadowed declaration backends-1.2.1/frontend/scanimage.c:2259:7: note: Shadow variable backends-1.2.1/frontend/scanimage.c:183:10: style: Variable 'uname' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:225:15: style: Variable 'tmp_username' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:231:12: style: Variable 'tmp_password' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:1848:42: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/frontend/scanimage.c:2091:9: style: Variable 'readbuf2' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:2492:8: style: Variable 'larg' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:2492:15: style: Variable 'targ' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:2492:22: style: Variable 'xarg' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:2492:29: style: Variable 'yarg' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/scanimage.c:178:71: style: Unused variable: wipe [unusedVariable] backends-1.2.1/frontend/sicc.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/sicc.c:28:22: style: Variable 'stated_size' is assigned a value that is never used. [unreadVariable] backends-1.2.1/frontend/stiff.c:88:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/frontend/stiff.c:244:20: style: The if condition is the same as the previous if condition [duplicateCondition] backends-1.2.1/frontend/stiff.c:235:20: note: First condition backends-1.2.1/frontend/stiff.c:244:20: note: Second condition backends-1.2.1/frontend/stiff.c:345:20: style: The if condition is the same as the previous if condition [duplicateCondition] backends-1.2.1/frontend/stiff.c:336:20: note: First condition backends-1.2.1/frontend/stiff.c:345:20: note: Second condition backends-1.2.1/frontend/stiff.c:476:20: style: The if condition is the same as the previous if condition [duplicateCondition] backends-1.2.1/frontend/stiff.c:466:20: note: First condition backends-1.2.1/frontend/stiff.c:476:20: note: Second condition backends-1.2.1/frontend/stiff.c:365:41: style: Condition '(*((char*)&check))==0' is always false [knownConditionTrueFalse] backends-1.2.1/frontend/stiff.c:364:18: note: Assignment 'check=1', assigned value is 1 backends-1.2.1/frontend/stiff.c:365:41: note: Condition '(*((char*)&check))==0' is always false backends-1.2.1/frontend/stiff.c:497:41: style: Condition '(*((char*)&check))==0' is always false [knownConditionTrueFalse] backends-1.2.1/frontend/stiff.c:496:18: note: Assignment 'check=1', assigned value is 1 backends-1.2.1/frontend/stiff.c:497:41: note: Condition '(*((char*)&check))==0' is always false backends-1.2.1/frontend/stiff.c:152:16: style: Variable 'ifde' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/stiff.c:242:21: style: Variable 'data_offset' is assigned a value that is never used. [unreadVariable] backends-1.2.1/frontend/stiff.c:354:19: style: Variable 'data_offset' is assigned a value that is never used. [unreadVariable] backends-1.2.1/frontend/stiff.c:485:19: style: Variable 'data_offset' is assigned a value that is never used. [unreadVariable] backends-1.2.1/frontend/test.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/test.c:167:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/test.c:48:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] backends-1.2.1/frontend/test.c:50:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] backends-1.2.1/frontend/tstbackend.c:148:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/tstbackend.c:1705:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] backends-1.2.1/frontend/tstbackend.c:1813:6: style: Condition 'rc' is always false [knownConditionTrueFalse] backends-1.2.1/frontend/tstbackend.c:1812:23: note: Calling function 'test_get_devices' returns 0 backends-1.2.1/frontend/tstbackend.c:1812:23: note: Assignment 'rc=test_get_devices(&device_list,time)', assigned value is 0 backends-1.2.1/frontend/tstbackend.c:1813:6: note: Condition 'rc' is always false backends-1.2.1/frontend/tstbackend.c:1326:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/frontend/tstbackend.c:1306:10: note: status is assigned backends-1.2.1/frontend/tstbackend.c:1326:9: note: status is overwritten backends-1.2.1/frontend/tstbackend.c:1354:8: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] backends-1.2.1/frontend/tstbackend.c:1353:26: note: len is assigned backends-1.2.1/frontend/tstbackend.c:1354:8: note: len is overwritten backends-1.2.1/frontend/tstbackend.c:198:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] backends-1.2.1/frontend/tstbackend.c:1020:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] backends-1.2.1/japi/Sane.c:106:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/japi/Sane.c:226:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_CONSTRAINT_RANGE [valueFlowBailoutIncompleteVar] backends-1.2.1/japi/Sane.c:305:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_ACTION_GET_VALUE [valueFlowBailoutIncompleteVar] backends-1.2.1/japi/Sane.c:328:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_ACTION_GET_VALUE [valueFlowBailoutIncompleteVar] backends-1.2.1/japi/Sane.c:81:12: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/alloca.c:111:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] backends-1.2.1/lib/alloca.c:145:8: style: union member 'hdr::align' is never used. [unusedStructMember] backends-1.2.1/lib/getenv.c:13:0: error: #error "Missing getenv() on this platform. Please implement." [preprocessorErrorDirective] backends-1.2.1/lib/getopt.c:707:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/getopt.c:887:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] backends-1.2.1/lib/inet_ntop.c:18:43: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/inet_ntop.c:20:18: style: Unused variable: in [unusedVariable] backends-1.2.1/lib/inet_ntop.c:21:9: style: Unused variable: text_addr [unusedVariable] backends-1.2.1/lib/inet_pton.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/inet_pton.c:17:43: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/md5.c:130:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable md5_uint32 [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/md5.c:254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable md5_uint32 [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/md5.c:305:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable md5_uint32 [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/sigprocmask.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/sigprocmask.c:29:28: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/sleep.c:23:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/lib/snprintf.c:671:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/lib/snprintf.c:713:6: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] backends-1.2.1/lib/snprintf.c:842:15: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/snprintf.c:970:41: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/snprintf.c:1010:53: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] backends-1.2.1/lib/snprintf.c:531:9: style: union member 'value::dvalue' is never used. [unusedStructMember] backends-1.2.1/sanei/sanei_ab306.c:515:31: style:inconclusive: Function 'sanei_ab306_open' argument 1 names different: declaration 'dev' definition 'devname'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_ab306.h:45:43: note: Function 'sanei_ab306_open' argument 1 names different: declaration 'dev' definition 'devname'. backends-1.2.1/sanei/sanei_ab306.c:515:31: note: Function 'sanei_ab306_open' argument 1 names different: declaration 'dev' definition 'devname'. backends-1.2.1/sanei/sanei_ab306.c:515:45: style:inconclusive: Function 'sanei_ab306_open' argument 2 names different: declaration 'fd' definition 'fdp'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_ab306.h:45:53: note: Function 'sanei_ab306_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_ab306.c:515:45: note: Function 'sanei_ab306_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_ab306.c:545:10: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_ab306.c:545:23: style: Parameter 'dst_size' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_ab306.c:551:51: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_codec_ascii.c:79:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_codec_ascii.c:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_codec_ascii.c:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_config.c:248:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_config.c:130:32: style:inconclusive: Function 'sanei_config_open' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_config.h:69:45: note: Function 'sanei_config_open' argument 1 names different: declaration 'name' definition 'filename'. backends-1.2.1/sanei/sanei_config.c:130:32: note: Function 'sanei_config_open' argument 1 names different: declaration 'name' definition 'filename'. backends-1.2.1/sanei/sanei_config.c:83:9: style: Variable 'dlist' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_config.c:132:16: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_config.c:159:8: warning: Uninitialized variable: fp [uninitvar] backends-1.2.1/sanei/sanei_config.c:146:53: note: Assuming condition is false backends-1.2.1/sanei/sanei_config.c:159:8: note: Uninitialized variable: fp backends-1.2.1/sanei/sanei_config2.c:135:9: style: Variable 'name' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_config2.c:138:7: style: Variable 'name' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_constrain_value.c:58:20: style: Variable 'array' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_constrain_value.c:59:14: style: Variable 'barray' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_constrain_value.c:123:10: style: Variable 'array' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_directio.c:342:44: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_directio.c:349:44: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_net.c:66:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WIRE_DECODE [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_net.c:101:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sanei_w_word [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_net.c:127:73: style:inconclusive: Function 'sanei_w_option_descriptor_array' argument 2 names different: declaration 'opt' definition 'a'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_net.h:135:39: note: Function 'sanei_w_option_descriptor_array' argument 2 names different: declaration 'opt' definition 'a'. backends-1.2.1/sanei/sanei_net.c:127:73: note: Function 'sanei_w_option_descriptor_array' argument 2 names different: declaration 'opt' definition 'a'. backends-1.2.1/sanei/sanei_pio.c:356:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_pio.c:174:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] backends-1.2.1/sanei/sanei_pio.c:419:39: style:inconclusive: Function 'sanei_pio_open' argument 2 names different: declaration 'fd' definition 'fdp'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_pio.h:47:61: note: Function 'sanei_pio_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_pio.c:419:39: note: Function 'sanei_pio_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_pp.c:1327:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1336:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1345:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1383:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] backends-1.2.1/sanei/sanei_pp.c:1392:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1401:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1409:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] backends-1.2.1/sanei/sanei_pp.c:1280:2: style: Redundant assignment of 'first_time' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1327:2: style: Redundant assignment of 'val' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1336:2: style: Redundant assignment of 'val' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1345:2: style: Redundant assignment of 'val' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1383:2: style: Redundant assignment of 'mode' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1392:2: style: Redundant assignment of 'mode' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1401:2: style: Redundant assignment of 'usec' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1402:2: style: Redundant assignment of 'pp_thresh' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1409:2: style: Redundant assignment of 'rev' to itself. [selfAssignment] backends-1.2.1/sanei/sanei_pp.c:1327:2: style: Variable 'val' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1336:2: style: Variable 'val' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1345:2: style: Variable 'val' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1383:2: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1392:2: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1401:2: style: Variable 'usec' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_pp.c:1409:2: style: Variable 'rev' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_scsi.c:1280:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_scsi.c:4368:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_UNSUPPORTED [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_scsi.c:6126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_scsi.c:1279:10: style: Condition 'fd==-1' is always true [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_scsi.c:1274:9: note: Assignment 'fd=-1', assigned value is -1 backends-1.2.1/sanei/sanei_scsi.c:1279:10: note: Condition 'fd==-1' is always true backends-1.2.1/sanei/sanei_scsi.c:1299:7: style: Condition 'real_dev' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_scsi.c:871:20: note: Assignment 'real_dev=0', assigned value is 0 backends-1.2.1/sanei/sanei_scsi.c:1285:10: note: Assuming condition is false backends-1.2.1/sanei/sanei_scsi.c:1299:7: note: Condition 'real_dev' is always false backends-1.2.1/sanei/sanei_scsi.c:1466:2: error: Common realloc mistake: 'fd_info' nulled but not freed upon failure [memleakOnRealloc] backends-1.2.1/sanei/sanei_scsi.c:1469:32: warning: Either the condition '!fd_info' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] backends-1.2.1/sanei/sanei_scsi.c:1470:11: note: Assuming that condition '!fd_info' is not redundant backends-1.2.1/sanei/sanei_scsi.c:1469:32: note: Null pointer addition backends-1.2.1/sanei/sanei_scsi.c:866:30: style:inconclusive: Function 'sanei_scsi_open' argument 1 names different: declaration 'device_name' definition 'dev'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:120:50: note: Function 'sanei_scsi_open' argument 1 names different: declaration 'device_name' definition 'dev'. backends-1.2.1/sanei/sanei_scsi.c:866:30: note: Function 'sanei_scsi_open' argument 1 names different: declaration 'device_name' definition 'dev'. backends-1.2.1/sanei/sanei_scsi.c:866:40: style:inconclusive: Function 'sanei_scsi_open' argument 2 names different: declaration 'fd' definition 'fdp'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:120:69: note: Function 'sanei_scsi_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_scsi.c:866:40: note: Function 'sanei_scsi_open' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_scsi.c:867:44: style:inconclusive: Function 'sanei_scsi_open' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:122:15: note: Function 'sanei_scsi_open' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. backends-1.2.1/sanei/sanei_scsi.c:867:44: note: Function 'sanei_scsi_open' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. backends-1.2.1/sanei/sanei_scsi.c:1550:39: style:inconclusive: Function 'sanei_scsi_open_extended' argument 1 names different: declaration 'device_name' definition 'dev'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:152:21: note: Function 'sanei_scsi_open_extended' argument 1 names different: declaration 'device_name' definition 'dev'. backends-1.2.1/sanei/sanei_scsi.c:1550:39: note: Function 'sanei_scsi_open_extended' argument 1 names different: declaration 'device_name' definition 'dev'. backends-1.2.1/sanei/sanei_scsi.c:1550:49: style:inconclusive: Function 'sanei_scsi_open_extended' argument 2 names different: declaration 'fd' definition 'fdp'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:152:40: note: Function 'sanei_scsi_open_extended' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_scsi.c:1550:49: note: Function 'sanei_scsi_open_extended' argument 2 names different: declaration 'fd' definition 'fdp'. backends-1.2.1/sanei/sanei_scsi.c:1552:12: style:inconclusive: Function 'sanei_scsi_open_extended' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:154:14: note: Function 'sanei_scsi_open_extended' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. backends-1.2.1/sanei/sanei_scsi.c:1552:12: note: Function 'sanei_scsi_open_extended' argument 4 names different: declaration 'sense_arg' definition 'handler_arg'. backends-1.2.1/sanei/sanei_scsi.c:6176:42: style:inconclusive: Function 'sanei_scsi_find_devices' argument 1 names different: declaration 'vendor' definition 'findvendor'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:94:50: note: Function 'sanei_scsi_find_devices' argument 1 names different: declaration 'vendor' definition 'findvendor'. backends-1.2.1/sanei/sanei_scsi.c:6176:42: note: Function 'sanei_scsi_find_devices' argument 1 names different: declaration 'vendor' definition 'findvendor'. backends-1.2.1/sanei/sanei_scsi.c:6176:66: style:inconclusive: Function 'sanei_scsi_find_devices' argument 2 names different: declaration 'model' definition 'findmodel'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:94:70: note: Function 'sanei_scsi_find_devices' argument 2 names different: declaration 'model' definition 'findmodel'. backends-1.2.1/sanei/sanei_scsi.c:6176:66: note: Function 'sanei_scsi_find_devices' argument 2 names different: declaration 'model' definition 'findmodel'. backends-1.2.1/sanei/sanei_scsi.c:6177:21: style:inconclusive: Function 'sanei_scsi_find_devices' argument 3 names different: declaration 'type' definition 'findtype'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:95:22: note: Function 'sanei_scsi_find_devices' argument 3 names different: declaration 'type' definition 'findtype'. backends-1.2.1/sanei/sanei_scsi.c:6177:21: note: Function 'sanei_scsi_find_devices' argument 3 names different: declaration 'type' definition 'findtype'. backends-1.2.1/sanei/sanei_scsi.c:6178:13: style:inconclusive: Function 'sanei_scsi_find_devices' argument 4 names different: declaration 'bus' definition 'findbus'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:96:14: note: Function 'sanei_scsi_find_devices' argument 4 names different: declaration 'bus' definition 'findbus'. backends-1.2.1/sanei/sanei_scsi.c:6178:13: note: Function 'sanei_scsi_find_devices' argument 4 names different: declaration 'bus' definition 'findbus'. backends-1.2.1/sanei/sanei_scsi.c:6178:26: style:inconclusive: Function 'sanei_scsi_find_devices' argument 5 names different: declaration 'channel' definition 'findchannel'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:96:23: note: Function 'sanei_scsi_find_devices' argument 5 names different: declaration 'channel' definition 'findchannel'. backends-1.2.1/sanei/sanei_scsi.c:6178:26: note: Function 'sanei_scsi_find_devices' argument 5 names different: declaration 'channel' definition 'findchannel'. backends-1.2.1/sanei/sanei_scsi.c:6178:43: style:inconclusive: Function 'sanei_scsi_find_devices' argument 6 names different: declaration 'id' definition 'findid'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:96:36: note: Function 'sanei_scsi_find_devices' argument 6 names different: declaration 'id' definition 'findid'. backends-1.2.1/sanei/sanei_scsi.c:6178:43: note: Function 'sanei_scsi_find_devices' argument 6 names different: declaration 'id' definition 'findid'. backends-1.2.1/sanei/sanei_scsi.c:6179:13: style:inconclusive: Function 'sanei_scsi_find_devices' argument 7 names different: declaration 'lun' definition 'findlun'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_scsi.h:96:44: note: Function 'sanei_scsi_find_devices' argument 7 names different: declaration 'lun' definition 'findlun'. backends-1.2.1/sanei/sanei_scsi.c:6179:13: note: Function 'sanei_scsi_find_devices' argument 7 names different: declaration 'lun' definition 'findlun'. backends-1.2.1/sanei/sanei_scsi.c:873:9: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_scsi.c:4366:14: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_scsi.c:4366:28: style: Parameter 'dst_size' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_scsi.c:6124:42: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_wire.c:89:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_wire.c:215:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_wire.c:294:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_wire.c:667:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_wire.c:157:38: style:inconclusive: Function 'sanei_w_array' argument 2 names different: declaration 'len' definition 'len_ptr'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_wire.h:122:48: note: Function 'sanei_w_array' argument 2 names different: declaration 'len' definition 'len_ptr'. backends-1.2.1/sanei/sanei_wire.c:157:38: note: Function 'sanei_w_array' argument 2 names different: declaration 'len' definition 'len_ptr'. backends-1.2.1/sanei/sanei_wire.c:599:18: style:inconclusive: Function 'sanei_w_call' argument 2 names different: declaration 'proc_num' definition 'procnum'. [funcArgNamesDifferent] backends-1.2.1/include/sane/sanei_wire.h:126:46: note: Function 'sanei_w_call' argument 2 names different: declaration 'proc_num' definition 'procnum'. backends-1.2.1/sanei/sanei_wire.c:599:18: note: Function 'sanei_w_call' argument 2 names different: declaration 'proc_num' definition 'procnum'. backends-1.2.1/testsuite/backend/genesys/minigtest.h:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/minigtest.h:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/minigtest.h:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/minigtest.h:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/minigtest.h:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/minigtest.cpp:30:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:77:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:98:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_BOOL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:106:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_BOOL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:113:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_BUTTON [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:121:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_BUTTON [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:128:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_INT [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:136:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_INT [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:142:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_FIXED [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:150:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_FIXED [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:167:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_TYPE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:185:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:457:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/session_config_test.cpp:490:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_calibration.cpp:117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_printers.h:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:89:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:252:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:365:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:418:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image.cpp:560:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:131:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:158:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:185:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:293:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:351:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:425:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:456:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:486:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:550:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:582:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:613:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:649:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:670:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:765:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:788:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:815:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:842:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:869:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:904:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_image_pipeline.cpp:940:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_motor.cpp:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_motor.cpp:77:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_motor.cpp:97:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_motor.cpp:155:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_motor.cpp:213:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_row_buffer.cpp:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_row_buffer.cpp:61:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_utilities.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_utilities.cpp:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/backend/genesys/tests_utilities.cpp:74:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:105:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:138:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:179:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:235:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:278:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:321:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:367:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:410:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:464:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:606:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:659:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:729:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:800:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:838:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_Option_Descriptor [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:66:37: style: Parameter 'config' can be declared as pointer to const. However it seems that 'check_config_attach' is a callback function, if 'config' is declared with const you might also need to cast function pointer(s). [constParameterCallback] backends-1.2.1/testsuite/sanei/sanei_config_test.c:857:38: note: You might need to cast the function pointer here backends-1.2.1/testsuite/sanei/sanei_config_test.c:66:37: note: Parameter 'config' can be declared as pointer to const backends-1.2.1/testsuite/sanei/sanei_config_test.c:215:19: error: Uninitialized variable: modelname [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:216:19: error: Uninitialized variable: vendor [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:259:11: error: Uninitialized variable: modelnumber [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:391:19: error: Uninitialized variable: choice [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:640:11: error: Uninitialized variable: booltrue [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:705:11: error: Uninitialized variable: booltrue [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:706:11: error: Uninitialized variable: boolfalse [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:776:11: error: Uninitialized variable: width [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:777:11: error: Uninitialized variable: height [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:861:19: error: Uninitialized variable: firmware [uninitvar] backends-1.2.1/testsuite/sanei/sanei_config_test.c:601:23: style: Unused variable: boolfalse [unusedVariable] backends-1.2.1/testsuite/sanei/sanei_config_test.c:793:13: style: Unused variable: height [unusedVariable] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:162:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:177:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:193:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:209:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:224:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:239:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:257:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:287:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:303:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:319:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:334:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:349:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:365:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:381:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:396:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:412:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:428:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:451:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:475:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:499:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:523:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:547:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:571:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:594:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:612:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:627:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:642:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:650:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:674:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_INVAL [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:691:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:705:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_constrain_test.c:719:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:1455:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:1473:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:1614:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:1993:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:2836:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:3370:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/sanei/sanei_usb.c:3716:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:51:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:78:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:869:11: warning: Assert statement calls a function which may have desired side effects: 'test_store_device'. [assertWithSideEffect] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:872:11: warning: Assert statement calls a function which may have desired side effects: 'test_vendor_by_devname'. [assertWithSideEffect] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:875:11: warning: Assert statement calls a function which may have desired side effects: 'test_vendor_by_id'. [assertWithSideEffect] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:907:11: warning: Assert statement calls a function which may have desired side effects: 'test_claim_all'. [assertWithSideEffect] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:910:11: warning: Assert statement calls a function which may have desired side effects: 'test_release_all'. [assertWithSideEffect] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:925:11: warning: Assert statement calls a function which may have desired side effects: 'test_attach'. [assertWithSideEffect] backends-1.2.1/sanei/sanei_usb.c:2175:17: style: Array index 'dn' is used before limits check. [arrayIndexThenCheck] backends-1.2.1/sanei/sanei_usb.c:1643:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] backends-1.2.1/sanei/sanei_usb.c:1659:15: style: Condition 'fd==-1' is always true [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:1655:14: note: Assignment 'fd=-1', assigned value is -1 backends-1.2.1/sanei/sanei_usb.c:1659:15: note: Condition 'fd==-1' is always true backends-1.2.1/sanei/sanei_usb.c:1997:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:2451:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:2835:32: style: Condition 'devices[devcount].fd==-1' is always true [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:2831:31: note: Assignment 'devices[devcount].fd=-1', assigned value is -1 backends-1.2.1/sanei/sanei_usb.c:2835:32: note: Condition 'devices[devcount].fd==-1' is always true backends-1.2.1/sanei/sanei_usb.c:2974:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3017:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3074:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3104:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3164:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3365:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3481:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3494:24: style: Condition 'testing_mode!=sanei_usb_testing_mode_disabled' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3701:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3817:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:3830:24: style: Condition 'testing_mode!=sanei_usb_testing_mode_disabled' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4020:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4142:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4303:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4408:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4421:24: style: Condition 'testing_mode!=sanei_usb_testing_mode_disabled' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4515:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4525:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4604:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4675:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4745:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4903:20: style: Condition 'testing_mode==sanei_usb_testing_mode_replay' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4959:20: style: Condition 'testing_mode==sanei_usb_testing_mode_record' is always false [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4418:17: style: The comparison 'read_size < 0' is always false. [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4284:23: note: 'read_size' is assigned value '0' here. backends-1.2.1/sanei/sanei_usb.c:4418:17: note: The comparison 'read_size < 0' is always false. backends-1.2.1/sanei/sanei_usb.c:4435:17: style: The comparison 'read_size == 0' is always true. [knownConditionTrueFalse] backends-1.2.1/sanei/sanei_usb.c:4284:23: note: 'read_size' is assigned value '0' here. backends-1.2.1/sanei/sanei_usb.c:4435:17: note: The comparison 'read_size == 0' is always true. backends-1.2.1/testsuite/sanei/sanei_usb_test.c:140:18: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:127:27: style: Parameter 'devname' can be declared as pointer to const [constParameterPointer] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:397:28: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:423:28: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] backends-1.2.1/testsuite/sanei/sanei_usb_test.c:488:30: style: Parameter 'dn' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_usb.c:304:59: style: Parameter 'vendorID' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_usb.c:304:74: style: Parameter 'productID' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_usb.c:1620:19: style: Variable 'base_name' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_usb.c:1623:22: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_usb.c:2994:9: style: Variable 'env' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_usb.c:3087:9: style: Variable 'env' can be declared as pointer to const [constVariablePointer] backends-1.2.1/sanei/sanei_usb.c:4006:22: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_usb.c:4282:46: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] backends-1.2.1/sanei/sanei_usb.c:2073:9: style: Variable 'name' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_usb.c:2995:18: style: Variable 'workaround' is assigned a value that is never used. [unreadVariable] backends-1.2.1/sanei/sanei_usb.c:3088:18: style: Variable 'workaround' is assigned a value that is never used. [unreadVariable] backends-1.2.1/testsuite/sanei/test_wire.c:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/test_wire.c:73:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/testsuite/sanei/test_wire.c:61:9: style: Variable 'codec' can be declared as pointer to const [constVariablePointer] backends-1.2.1/testsuite/sanei/test_wire.c:62:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] backends-1.2.1/tools/mustek600iin-off.c:61:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/mustek600iin-off.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/mustek600iin-off.c:130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/mustek600iin-off.c:87:16: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/mustek600iin-off.c:154:12: style: Variable 'offcmd' can be declared as const array [constVariable] backends-1.2.1/tools/sane-desc.c:302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:334:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:374:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:813:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:2816:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:3322:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_STRING [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-desc.c:828:27: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] backends-1.2.1/tools/sane-desc.c:677:23: warning: Either the condition 'word' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] backends-1.2.1/tools/sane-desc.c:678:6: note: Assuming that condition 'word' is not redundant backends-1.2.1/tools/sane-desc.c:677:23: note: Null pointer dereference backends-1.2.1/tools/sane-desc.c:714:23: warning: Either the condition 'word' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] backends-1.2.1/tools/sane-desc.c:715:6: note: Assuming that condition 'word' is not redundant backends-1.2.1/tools/sane-desc.c:714:23: note: Null pointer dereference backends-1.2.1/tools/sane-desc.c:730:23: warning: Either the condition 'word' is redundant or there is possible null pointer dereference: word. [nullPointerRedundantCheck] backends-1.2.1/tools/sane-desc.c:731:6: note: Assuming that condition 'word' is not redundant backends-1.2.1/tools/sane-desc.c:730:23: note: Null pointer dereference backends-1.2.1/tools/sane-desc.c:853:17: style: Local variable 'current_type' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:796:15: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:853:17: note: Shadow variable backends-1.2.1/tools/sane-desc.c:864:17: style: Local variable 'current_mfg' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:797:14: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:864:17: note: Shadow variable backends-1.2.1/tools/sane-desc.c:868:23: style: Local variable 'current_model' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:798:16: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:868:23: note: Shadow variable backends-1.2.1/tools/sane-desc.c:1895:14: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:1834:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:1895:14: note: Shadow variable backends-1.2.1/tools/sane-desc.c:1920:18: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:1834:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:1920:18: note: Shadow variable backends-1.2.1/tools/sane-desc.c:1940:17: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:1920:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:1940:17: note: Shadow variable backends-1.2.1/tools/sane-desc.c:2132:14: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:2067:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:2132:14: note: Shadow variable backends-1.2.1/tools/sane-desc.c:2159:18: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:2067:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:2159:18: note: Shadow variable backends-1.2.1/tools/sane-desc.c:2181:17: style: Local variable 'url' shadows outer variable [shadowVariable] backends-1.2.1/tools/sane-desc.c:2159:18: note: Shadowed declaration backends-1.2.1/tools/sane-desc.c:2181:17: note: Shadow variable backends-1.2.1/tools/sane-desc.c:280:9: style: Variable 'level_txt' can be declared as pointer to const [constVariablePointer] backends-1.2.1/tools/sane-desc.c:311:20: style: Parameter 'program_name' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-desc.c:351:24: style: Variable 'desc_options' can be declared as const array [constVariable] backends-1.2.1/tools/sane-desc.c:497:20: style: Parameter 'num_string1' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-desc.c:497:39: style: Parameter 'num_string2' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-desc.c:763:24: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-desc.c:790:18: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] backends-1.2.1/tools/sane-desc.c:2392:56: style: Parameter 'manufacturer_name' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-desc.c:3867:9: style: Variable 'last_vendor' can be declared as pointer to const [constVariablePointer] backends-1.2.1/tools/sane-desc.c:514:15: style: Variable 'compare' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:645:5: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:681:5: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:734:5: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:796:28: style: Variable 'current_type' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:797:26: style: Variable 'current_mfg' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:798:30: style: Variable 'current_model' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:800:44: style: Variable 'end' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:3113:42: style: Variable 'tmp_usbid' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:3155:10: style: Variable 'usbid' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:3166:45: style: Variable 'tmp_scsiid' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-desc.c:3208:11: style: Variable 'scsiid' is assigned a value that is never used. [unreadVariable] backends-1.2.1/tools/sane-find-scanner.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:262:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:342:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:378:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_STATUS_GOOD [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:1115:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:1565:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SANE_FALSE [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/sane-find-scanner.c:1142:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] backends-1.2.1/tools/sane-find-scanner.c:1920:11: style: Condition '!check_sg()' is always false [knownConditionTrueFalse] backends-1.2.1/tools/sane-find-scanner.c:1920:21: note: Calling function 'check_sg' returns 1 backends-1.2.1/tools/sane-find-scanner.c:1920:11: note: Condition '!check_sg()' is always false backends-1.2.1/tools/sane-find-scanner.c:110:14: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-find-scanner.c:248:17: style: Parameter 'devicename' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-find-scanner.c:1135:22: style: Parameter 'dir_name' can be declared as pointer to const [constParameterPointer] backends-1.2.1/tools/sane-find-scanner.c:1137:18: style: Variable 'dir_entry' can be declared as pointer to const [constVariablePointer] backends-1.2.1/tools/umax_pp.c:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/umax_pp.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] backends-1.2.1/tools/umax_pp.c:21:14: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] diff: head backends-1.2.1/backend/hp-option.c:478:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/hp-option.c:497:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/hp-option.c:566:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/hp-option.c:630:16: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/hp-option.c:650:17: style: Variable 'optd' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/hp3900_sane.c:1012:25: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/hp3900_sane.c:1029:28: style: Parameter 'colormode' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/hp3900_sane.c:983:24: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/hp5400_sane.c:1058:27: style: Variable 'bwColour' can be declared as pointer to const [constVariablePointer] 2.14.0 backends-1.2.1/backend/kvs1025.c:160:7: error: Overlapping read/write in memcpy() is undefined behavior [overlappingWriteFunction] head backends-1.2.1/backend/plustek-pp_dac.c:1511:64: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/plustek-pp_dac.c:559:60: style: Parameter 'pwData' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/plustek-pp_dac.c:933:44: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/plustek-pp_image.c:518:56: style: Parameter 'pImage' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/plustek-pp_map.c:106:9: style: Variable 'pDitherSource' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/plustek-pp_motor.c:2264:11: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/plustek-pp_scale.c:65:40: style: Parameter 'inBuf' can be declared as pointer to const [constParameterPointer] head backends-1.2.1/backend/plustek-pp_tpa.c:696:15: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/backend/st400.c:403:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] head backends-1.2.1/sanei/sanei_usb.c:1620:19: style: Variable 'base_name' can be declared as pointer to const [constVariablePointer] head backends-1.2.1/tools/sane-desc.c:763:24: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] DONE