2025-07-07 23:33 ftp://ftp.de.debian.org/debian/pool/main/f/fdclone/fdclone_3.01j.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 828 810 elapsed-time: 79.7 71.4 head-timing-info: old-timing-info: head results: FD-3.01j/apply.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:178:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPDAT_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANCNF_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:390:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:500:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:619:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:671:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirent [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:683:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirent [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:701:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirent [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:751:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRECP_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:768:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRECP_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:781:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:795:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:810:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:861:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:888:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:906:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:929:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirent [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:943:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRERM_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:988:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOUND_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1001:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOUND_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1116:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOLD_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1209:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AOWNR_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1245:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AGRUP_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1926:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COPYD_K [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:1983:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:2070:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:2089:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:2112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/apply.c:851:20: error: Non-local variable 'destdir' will use pointer to local variable 'dest'. [danglingLifetime] FD-3.01j/apply.c:849:12: note: Address of variable taken here. FD-3.01j/apply.c:850:18: note: Assuming condition is false FD-3.01j/apply.c:810:7: note: Variable created here. FD-3.01j/apply.c:851:20: note: Non-local variable 'destdir' will use pointer to local variable 'dest'. FD-3.01j/apply.c:1103:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/apply.c:1311:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/apply.c:607:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/apply.c:609:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/apply.c:641:15: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/apply.c:643:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/apply.c:654:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/apply.c:1338:13: error: Shifting by a negative value is undefined behaviour [shiftNegative] FD-3.01j/apply.c:1916:6: style: Local variable 'order' shadows outer variable [shadowVariable] FD-3.01j/apply.c:1766:5: note: Shadowed declaration FD-3.01j/apply.c:1916:6: note: Shadow variable FD-3.01j/apply.c:605:8: style: Parameter 'sizep' can be declared as pointer to const [constParameterPointer] FD-3.01j/apply.c:630:8: style: Parameter 'sizep' can be declared as pointer to const [constParameterPointer] FD-3.01j/apply.c:667:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/apply.c:925:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/archive.c:541:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNPNG_K [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:581:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOFIL_K [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:690:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:746:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:840:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:998:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1028:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1075:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1097:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1146:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1248:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1379:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1450:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1528:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:1583:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/archive.c:611:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] FD-3.01j/archive.c:684:13: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] FD-3.01j/auth.c:38:8: style: struct member '_digest_t::realm' is never used. [unusedStructMember] FD-3.01j/auth.c:39:8: style: struct member '_digest_t::nonce' is never used. [unusedStructMember] FD-3.01j/auth.c:40:8: style: struct member '_digest_t::algorithm' is never used. [unusedStructMember] FD-3.01j/auth.c:41:8: style: struct member '_digest_t::qop' is never used. [unusedStructMember] FD-3.01j/auth.c:42:8: style: struct member '_digest_t::opaque' is never used. [unusedStructMember] FD-3.01j/auth.c:43:8: style: struct member '_digest_t::cnonce' is never used. [unusedStructMember] FD-3.01j/backend.c:321:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/backend.c:1649:9: warning: Either the condition '!len' is redundant or the array 'ubuf[4]' is accessed at index -1, which is out of bounds. [negativeIndex] FD-3.01j/backend.c:1656:8: note: Assuming that condition '!len' is not redundant FD-3.01j/backend.c:1654:10: note: Assignment to 'len=i' FD-3.01j/backend.c:1649:10: note: i is incremented', new value is -1 FD-3.01j/backend.c:1649:9: note: Negative array index FD-3.01j/backend.c:896:39: style: Checking if unsigned expression 'pty[w].nparam' is less than zero. [unsignedLessThanZero] FD-3.01j/backend.c:1107:26: style: Checking if unsigned expression 'pty[w].ntabstop' is less than zero. [unsignedLessThanZero] FD-3.01j/backend.c:1155:22: style: Checking if unsigned expression 'pty[w].nparam' is less than zero. [unsignedLessThanZero] FD-3.01j/browse.c:383:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OMIT_K [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:740:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:806:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:937:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_K [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1027:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1174:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOFIL_K [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1425:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_FORW [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1488:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1514:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1609:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOFIL_K [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1629:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REREAD_DIR [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1656:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1719:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMLEN [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1866:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:1998:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOROW_K [valueFlowBailoutIncompleteVar] FD-3.01j/browse.c:815:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/browse.c:877:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/browse.c:1079:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/browse.c:1087:17: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/browse.c:227:11: style: Parameter 'namep' can be declared as pointer to const [constParameterPointer] FD-3.01j/browse.c:1143:13: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] FD-3.01j/browse.c:1284:10: warning: Uninitialized variable: x [uninitvar] FD-3.01j/browse.c:1263:20: note: Assuming condition is false FD-3.01j/browse.c:1284:10: note: Uninitialized variable: x FD-3.01j/browse.c:837:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] FD-3.01j/builtin.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1218:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1226:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1257:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1490:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:2127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETKY_K [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:2199:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:2439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:3315:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:3343:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ILFNC_K [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:3473:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/builtin.c:1452:52: style: Condition '(n=addkeybind(no,&bind,func1,func2,cp))<0' is always false [knownConditionTrueFalse] FD-3.01j/builtin.c:1452:21: note: Calling function 'addkeybind' returns 0 FD-3.01j/builtin.c:1452:52: note: Condition '(n=addkeybind(no,&bind,func1,func2,cp))<0' is always false FD-3.01j/builtin.c:1185:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] FD-3.01j/builtin.c:2176:17: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2176:37: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2179:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2184:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2325:16: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2351:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:2364:27: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/builtin.c:691:12: style: Parameter 'lp' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:822:12: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1266:18: style: Parameter 'bindp' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1266:26: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1344:18: style: Parameter 'bindp' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1464:18: style: Parameter 'bindp' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1544:16: style: Parameter 'devp' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:1544:23: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:2638:13: style: Parameter 'argv' can be declared as const array. However it seems that 'savetty' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/builtin.c:224:3: note: You might need to cast the function pointer here FD-3.01j/builtin.c:2638:13: note: Parameter 'argv' can be declared as const array FD-3.01j/builtin.c:3299:13: style: Parameter 'ident' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:3311:13: style: Parameter 'ident' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:3332:18: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:3452:13: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] FD-3.01j/builtin.c:3467:13: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] FD-3.01j/catalog.c:68:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/catalog.c:68:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/command.c:532:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:633:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:684:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:704:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:724:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:741:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINDF_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:759:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:864:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGD_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1001:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECUR_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1052:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1098:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ONAME_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOWRT_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1232:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOROW_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1261:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KILL_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1286:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUIT_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1313:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAKED_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1360:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DELMK_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1464:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINDF_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1492:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINDD_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1586:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1654:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACK_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1676:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1696:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1722:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSDIR_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1742:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMODE_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1772:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1805:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1862:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BKUP_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1903:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEAF_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1916:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEAB_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:1999:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOWIN_K [valueFlowBailoutIncompleteVar] FD-3.01j/command.c:518:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'fname_right' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:39:2: note: You might need to cast the function pointer here FD-3.01j/command.c:518:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:575:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'one_column' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:41:2: note: You might need to cast the function pointer here FD-3.01j/command.c:575:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:584:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'two_columns' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:42:2: note: You might need to cast the function pointer here FD-3.01j/command.c:584:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:593:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'three_columns' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:43:2: note: You might need to cast the function pointer here FD-3.01j/command.c:593:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:602:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'five_columns' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:44:2: note: You might need to cast the function pointer here FD-3.01j/command.c:602:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:1243:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'help_message' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:118:2: note: You might need to cast the function pointer here FD-3.01j/command.c:1243:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:2042:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'next_window' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:108:2: note: You might need to cast the function pointer here FD-3.01j/command.c:2042:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:2140:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'warning_bell' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:120:2: note: You might need to cast the function pointer here FD-3.01j/command.c:2140:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:2149:13: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'no_operation' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] FD-3.01j/functabl.h:121:2: note: You might need to cast the function pointer here FD-3.01j/command.c:2149:13: note: Parameter 'arg' can be declared as pointer to const FD-3.01j/command.c:1577:8: style: Variable 'drive' is assigned a value that is never used. [unreadVariable] FD-3.01j/custom.c:861:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable catname [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:940:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:1056:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:1306:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USENV_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:1433:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TENV_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:1633:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBOL0_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:1883:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VBOL0_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:2602:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:2630:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:2670:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINDK_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:2923:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KYMPK_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:3249:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARUSG_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:3341:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARDON_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:3405:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTLN_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:3664:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXTAR_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:3950:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DRNAM_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CCNCL_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4218:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4486:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TENV_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4671:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEWET_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4785:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIMPL_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4814:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HBIND_K [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:4895:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/custom.c:417:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:419:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:430:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:431:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:433:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:436:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:439:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:441:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:445:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:459:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:462:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:466:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:468:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:488:29: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:508:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:512:27: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:519:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/custom.c:767:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/custom.c:767:32: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/custom.c:1898:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/custom.c:2451:23: style: Local variable 'unset' shadows outer function [shadowFunction] FD-3.01j/system.h:504:12: note: Shadowed declaration FD-3.01j/custom.c:2451:23: note: Shadow variable FD-3.01j/custom.c:2515:23: style: Local variable 'unset' shadows outer function [shadowFunction] FD-3.01j/system.h:504:12: note: Shadowed declaration FD-3.01j/custom.c:2515:23: note: Shadow variable FD-3.01j/custom.c:728:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:1133:18: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2407:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2448:6: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2773:27: style: Parameter 'bindp2' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2785:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2966:17: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2966:22: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2977:17: style: Parameter 'kp1' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:2989:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3476:18: style: Parameter 'lp1' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3476:24: style: Parameter 'lp2' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3521:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3731:18: style: Parameter 'ap1' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3731:24: style: Parameter 'ap2' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:3744:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:4064:13: style: Parameter 'flaglist' can be declared as pointer to const [constParameterPointer] FD-3.01j/custom.c:4212:6: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] FD-3.01j/dict.c:442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/dict.c:654:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/dict.c:772:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/dict.c:914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] FD-3.01j/dict.c:1329:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/dict.c:415:8: warning: Either the condition 'n<((u_short)(~(u_short)0))' is redundant or the array 'fhit[16]' is accessed at index 65534, which is out of bounds. [arrayIndexOutOfBoundsCond] FD-3.01j/dict.c:414:9: note: Assuming that condition 'n<((u_short)(~(u_short)0))' is not redundant FD-3.01j/dict.c:415:8: note: Array index out of bounds FD-3.01j/dict.c:415:18: warning: Either the condition 'n<((u_short)(~(u_short)0))' is redundant or the array 'fsrc[16]' is accessed at index 65534, which is out of bounds. [arrayIndexOutOfBoundsCond] FD-3.01j/dict.c:414:9: note: Assuming that condition 'n<((u_short)(~(u_short)0))' is not redundant FD-3.01j/dict.c:415:18: note: Array index out of bounds FD-3.01j/dict.c:953:44: style: Checking if unsigned expression 'tmp.freq' is less than zero. [unsignedLessThanZero] FD-3.01j/dict.c:168:16: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:242:16: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:332:15: style: Parameter 'hinsi' can be declared as const array [constParameter] FD-3.01j/dict.c:397:15: style: Parameter 'bsrc' can be declared as const array [constParameter] FD-3.01j/dict.c:589:15: style: Parameter 'jp' can be declared as pointer to const [constParameterPointer] FD-3.01j/dict.c:645:13: style: Variable 'lck' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:861:15: style: Parameter 'jp1' can be declared as pointer to const [constParameterPointer] FD-3.01j/dict.c:862:15: style: Parameter 'jp2' can be declared as pointer to const [constParameterPointer] FD-3.01j/dict.c:891:14: style: Variable 'kp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:891:20: style: Variable 'kp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:909:19: style: Parameter 'kp' can be declared as pointer to const [constParameterPointer] FD-3.01j/dict.c:969:14: style: Variable 'next' can be declared as pointer to const [constVariablePointer] FD-3.01j/dict.c:1325:13: style: Variable 'lck' can be declared as pointer to const [constVariablePointer] FD-3.01j/doscom.c:69:8: style: struct member 'filestat_t::nam' is never used. [unusedStructMember] FD-3.01j/doscom.c:76:8: style: struct member 'filestat_t::lnam' is never used. [unusedStructMember] FD-3.01j/doscom.c:78:10: style: struct member 'filestat_t::mod' is never used. [unusedStructMember] FD-3.01j/doscom.c:79:8: style: struct member 'filestat_t::siz' is never used. [unusedStructMember] FD-3.01j/doscom.c:80:9: style: struct member 'filestat_t::mtim' is never used. [unusedStructMember] FD-3.01j/doscom.c:81:9: style: struct member 'filestat_t::atim' is never used. [unusedStructMember] FD-3.01j/doscom.c:82:9: style: struct member 'filestat_t::flags' is never used. [unusedStructMember] FD-3.01j/dosdisk.c:414:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:469:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:502:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:651:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:767:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:827:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:950:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:970:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1064:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1290:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1320:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1357:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1380:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1434:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1652:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1843:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1888:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:1969:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2308:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2411:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2537:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2553:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2576:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2604:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2685:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMLEN [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2739:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2768:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2797:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2847:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2883:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2908:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2961:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:2989:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3019:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3225:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3361:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attr [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3401:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3427:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3436:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3447:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attr [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3464:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3476:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attr [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3502:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXDEV [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3557:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMFILE [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3643:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3697:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3741:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3773:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3811:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3864:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3889:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3963:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3997:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] FD-3.01j/dosdisk.c:3522:20: warning: Either the condition '(fd=dosopen(to,0|O_RDWR|O_CREAT,0666))<0' is redundant or the array 'dosflist[64]' is accessed at index -1073741824, which is out of bounds. [negativeIndex] FD-3.01j/dosdisk.c:3517:60: note: Assuming that condition '(fd=dosopen(to,0|O_RDWR|O_CREAT,0666))<0' is not redundant FD-3.01j/dosdisk.c:3521:2: note: Compound assignment '-=', assigned value is -1073741824 FD-3.01j/dosdisk.c:3522:20: note: Negative array index FD-3.01j/dosdisk.c:3893:10: warning: Either the condition 'fd<0' is redundant or the array 'dosflist[64]' is accessed at index -1073741824, which is out of bounds. [negativeIndex] FD-3.01j/dosdisk.c:3890:9: note: Assuming that condition 'fd<0' is not redundant FD-3.01j/dosdisk.c:3892:2: note: Compound assignment '-=', assigned value is -1073741824 FD-3.01j/dosdisk.c:3893:10: note: Negative array index FD-3.01j/dosdisk.c:3894:10: warning: Either the condition 'fd<0' is redundant or the array 'dosflist[64]' is accessed at index -1073741824, which is out of bounds. [negativeIndex] FD-3.01j/dosdisk.c:3890:9: note: Assuming that condition 'fd<0' is not redundant FD-3.01j/dosdisk.c:3892:2: note: Compound assignment '-=', assigned value is -1073741824 FD-3.01j/dosdisk.c:3894:10: note: Negative array index FD-3.01j/dosdisk.c:3896:21: warning: Either the condition 'fd<0' is redundant or the array 'dosflist[64]' is accessed at index -1073741824, which is out of bounds. [negativeIndex] FD-3.01j/dosdisk.c:3890:9: note: Assuming that condition 'fd<0' is not redundant FD-3.01j/dosdisk.c:3892:2: note: Compound assignment '-=', assigned value is -1073741824 FD-3.01j/dosdisk.c:3896:21: note: Negative array index FD-3.01j/dosdisk.c:3899:24: warning: Either the condition 'fd<0' is redundant or the array 'dosflist[64]' is accessed at index -1073741824, which is out of bounds. [negativeIndex] FD-3.01j/dosdisk.c:3890:9: note: Assuming that condition 'fd<0' is not redundant FD-3.01j/dosdisk.c:3892:2: note: Compound assignment '-=', assigned value is -1073741824 FD-3.01j/dosdisk.c:3899:24: note: Negative array index FD-3.01j/dosdisk.c:3179:15: error: Buffer is accessed out of bounds: dentp->name [bufferAccessOutOfBounds] FD-3.01j/dosdisk.c:3897:16: error: Buffer is accessed out of bounds: dent[0].name [bufferAccessOutOfBounds] FD-3.01j/dosdisk.c:3915:16: error: Buffer is accessed out of bounds: dent[1].name [bufferAccessOutOfBounds] FD-3.01j/dosdisk.c:2848:3: error: Memory leak: pathname [memleak] FD-3.01j/dosdisk.c:2852:3: error: Memory leak: pathname [memleak] FD-3.01j/dosdisk.c:2857:3: error: Memory leak: pathname [memleak] FD-3.01j/dosdisk.c:408:16: style: Parameter 'devp' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:464:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:1105:16: style: Parameter 'devp' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:1150:10: style: Variable 'fatp' can be declared as pointer to const [constVariablePointer] FD-3.01j/dosdisk.c:1300:16: style: Parameter 'devp' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:1632:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/dosdisk.c:2047:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:2117:21: style: Parameter 'path2' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:2155:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:2155:22: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:2177:19: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] FD-3.01j/dosdisk.c:2323:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/dosdisk.c:3456:24: style: Parameter 'utp' can be declared as pointer to const [constParameterPointer] FD-3.01j/encode.c:314:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/encode.c:205:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/encode.c:306:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/evalopt.c:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/evalopt.c:37:13: style: Parameter 'arg0' can be declared as pointer to const [constParameterPointer] FD-3.01j/evalopt.c:37:20: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] FD-3.01j/evalopt.c:38:14: style: Parameter 'optlist' can be declared as pointer to const [constParameterPointer] FD-3.01j/evalopt.c:64:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/expfunc.c:206:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] FD-3.01j/expfunc.c:355:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/expfunc.c:377:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/expfunc.c:398:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] FD-3.01j/expfunc.c:195:10: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] FD-3.01j/expfunc.c:45:13: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/expfunc.c:62:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/expfunc.c:319:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/expfunc.c:242:10: style: Variable 'size' is assigned a value that is never used. [unreadVariable] FD-3.01j/file.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:361:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:403:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:444:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:537:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:634:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:685:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:852:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:898:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:929:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1037:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHGFD_K [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1050:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1077:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1221:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1245:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1282:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1310:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1340:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1377:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1461:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1488:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1555:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1572:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1646:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:1708:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/file.c:426:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] FD-3.01j/file.c:504:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] FD-3.01j/frontend.c:496:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTYIC_K [valueFlowBailoutIncompleteVar] FD-3.01j/frontend.c:1027:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/frontend.c:697:10: warning: Either the condition 'comm' is redundant or there is possible null pointer dereference: comm. [nullPointerRedundantCheck] FD-3.01j/frontend.c:701:13: note: Assuming that condition 'comm' is not redundant FD-3.01j/frontend.c:697:10: note: Null pointer dereference FD-3.01j/frontend.c:698:3: warning: Either the condition 'comm' is redundant or there is possible null pointer dereference: comm. [nullPointerRedundantCheck] FD-3.01j/frontend.c:701:13: note: Assuming that condition 'comm' is not redundant FD-3.01j/frontend.c:698:3: note: Null pointer dereference FD-3.01j/frontend.c:699:3: warning: Either the condition 'comm' is redundant or there is possible null pointer dereference: comm. [nullPointerRedundantCheck] FD-3.01j/frontend.c:701:13: note: Assuming that condition 'comm' is not redundant FD-3.01j/frontend.c:699:3: note: Null pointer dereference FD-3.01j/frontend.c:510:5: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] FD-3.01j/frontend.c:483:5: note: n is assigned FD-3.01j/frontend.c:510:5: note: n is overwritten FD-3.01j/ftp.c:69:6: style: struct member '_ftpcmd_t::id' is never used. [unusedStructMember] FD-3.01j/ftp.c:70:14: style: struct member '_ftpcmd_t::cmd' is never used. [unusedStructMember] FD-3.01j/ftp.c:71:6: style: struct member '_ftpcmd_t::argc' is never used. [unusedStructMember] FD-3.01j/ftp.c:72:6: style: struct member '_ftpcmd_t::flags' is never used. [unusedStructMember] FD-3.01j/gentbl.c:24:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/gentbl.c:64:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/gentbl.c:73:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/gentbl.c:19:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/gentbl.c:32:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/gentbl.c:43:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/gentbl.c:71:14: style: Variable 'sep1' can be declared as pointer to const [constVariablePointer] FD-3.01j/gentbl.c:71:21: style: Variable 'sep2' can be declared as pointer to const [constVariablePointer] FD-3.01j/gentbl.c:110:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] FD-3.01j/gentbl.c:127:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/gentbl.c:132:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/html.c:33:14: style: struct member '_langtable::ident' is never used. [unusedStructMember] FD-3.01j/html.c:34:9: style: struct member '_langtable::lang' is never used. [unusedStructMember] FD-3.01j/html.c:38:14: style: struct member '_htmltag_t::ident' is never used. [unusedStructMember] FD-3.01j/html.c:39:10: style: struct member '_htmltag_t::len' is never used. [unusedStructMember] FD-3.01j/html.c:40:7: style: struct member '_htmltag_t::level' is never used. [unusedStructMember] FD-3.01j/html.c:41:7: style: struct member '_htmltag_t::next' is never used. [unusedStructMember] FD-3.01j/html.c:42:15: style: struct member '_htmltag_t::func' is never used. [unusedStructMember] FD-3.01j/html.c:46:14: style: struct member '_htmlamp_t::ident' is never used. [unusedStructMember] FD-3.01j/html.c:47:10: style: struct member '_htmlamp_t::len' is never used. [unusedStructMember] FD-3.01j/html.c:48:6: style: struct member '_htmlamp_t::ch' is never used. [unusedStructMember] FD-3.01j/http.c:48:6: style: struct member '_httpcmd_t::id' is never used. [unusedStructMember] FD-3.01j/http.c:49:14: style: struct member '_httpcmd_t::cmd' is never used. [unusedStructMember] FD-3.01j/http.c:53:14: style: struct member '_httpfld_t::ident' is never used. [unusedStructMember] FD-3.01j/http.c:54:10: style: struct member '_httpfld_t::len' is never used. [unusedStructMember] FD-3.01j/http.c:55:13: style: struct member '_httpfld_t::func' is never used. [unusedStructMember] FD-3.01j/ime.c:441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMERM_K [valueFlowBailoutIncompleteVar] FD-3.01j/ime.c:682:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMEKJ_K [valueFlowBailoutIncompleteVar] FD-3.01j/ime.c:847:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMEJS_K [valueFlowBailoutIncompleteVar] FD-3.01j/ime.c:335:9: style: Parameter 'jp' can be declared as pointer to const [constParameterPointer] FD-3.01j/info.c:234:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UPAR_K [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:275:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HITKY_K [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUNCLISTSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:360:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:698:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/info.c:364:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/info.c:541:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/input.c:252:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:1843:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:2050:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:2086:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:2129:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:2995:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEAF_K [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:3222:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DELSP_K [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:3701:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASWD_K [valueFlowBailoutIncompleteVar] FD-3.01j/input.c:2127:8: warning: Either the condition '!len' is redundant or the array 'ubuf[4]' is accessed at index -1, which is out of bounds. [negativeIndex] FD-3.01j/input.c:2133:7: note: Assuming that condition '!len' is not redundant FD-3.01j/input.c:2131:9: note: Assignment to 'len=i' FD-3.01j/input.c:2127:9: note: i is incremented', new value is -1 FD-3.01j/input.c:2127:8: note: Negative array index FD-3.01j/input.c:278:12: style: Parameter 'table' can be declared as const array [constParameter] FD-3.01j/input.c:293:13: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] FD-3.01j/input.c:1608:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/input.c:2195:13: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] FD-3.01j/kanjicnv.c:231:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/kanjicnv.c:248:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] FD-3.01j/kconv.c:1735:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] FD-3.01j/kconv.c:1739:5: note: Found duplicate branches for 'if' and 'else'. FD-3.01j/kconv.c:1735:5: note: Found duplicate branches for 'if' and 'else'. FD-3.01j/kconv.c:1843:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] FD-3.01j/kconv.c:1847:5: note: Found duplicate branches for 'if' and 'else'. FD-3.01j/kconv.c:1843:5: note: Found duplicate branches for 'if' and 'else'. FD-3.01j/kconv.c:462:18: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/kconv.c:516:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kconv.c:561:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kconv.c:1707:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kconv.c:1815:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kctype.h:356:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kctype.h:364:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kctype.h:372:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/kctype.h:373:6: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] FD-3.01j/kconv.c:88:9: style: struct member '_kpathtable::path' is never used. [unusedStructMember] FD-3.01j/kconv.c:89:9: style: struct member '_kpathtable::code' is never used. [unusedStructMember] FD-3.01j/libc.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:144:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:225:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:254:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:317:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:385:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:565:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HITKY_K [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/libc.c:214:14: style: Variable 'cwd' can be declared as pointer to const [constVariablePointer] FD-3.01j/log.c:55:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/log.c:132:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/lsparse.c:1190:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/lsparse.c:1098:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/lsparse.c:685:12: style: Variable 'up' can be declared as pointer to const [constVariablePointer] FD-3.01j/lsparse.c:686:12: style: Variable 'gp' can be declared as pointer to const [constVariablePointer] FD-3.01j/lsparse.c:693:17: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] FD-3.01j/lsparse.c:697:19: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] FD-3.01j/lsparse.c:1126:13: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] FD-3.01j/lsparse.c:1147:18: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/main.c:307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:413:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:426:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:452:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:465:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:697:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:756:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:816:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:1028:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:1287:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:1352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:1535:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cattblpath [valueFlowBailoutIncompleteVar] FD-3.01j/main.c:1551:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] FD-3.01j/main.c:794:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/main.c:368:22: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/main.c:863:27: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] FD-3.01j/main.c:904:13: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] FD-3.01j/main.c:1221:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/malloc.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/malloc.c:88:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/malloc.c:102:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkcat.c:302:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkcat.c:408:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkcat.c:116:13: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkcat.c:184:19: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkcat.c:243:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkcat.c:290:14: style: Variable 'ver' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3148:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3173:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3331:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3551:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3653:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3687:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3725:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkdict.c:3047:16: style: Parameter 'kbuf' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkdict.c:3099:16: style: Parameter 'idlist' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkdict.c:3119:17: style: Variable 'buf1' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3119:24: style: Variable 'buf2' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3142:13: style: Parameter 'hstr' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkdict.c:3224:11: style: Variable 'sp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3224:17: style: Variable 'sp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3451:15: style: Parameter 'buf1' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkdict.c:3453:15: style: Parameter 'buf2' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkdict.c:3474:13: style: Variable 'dp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3474:19: style: Variable 'dp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkdict.c:3248:8: warning: Uninitialized variable: idlist [uninitvar] FD-3.01j/mkdict.c:3244:13: note: Assuming condition is false FD-3.01j/mkdict.c:3248:8: note: Uninitialized variable: idlist FD-3.01j/mkdir_p.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/mkdir_p.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkdir_p.c:65:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkfuncno.c:28:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] FD-3.01j/mkfuncno.c:23:13: style: Parameter 'argv' can be declared as const array [constParameter] FD-3.01j/mkkanji.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkkanji.c:21:13: style: Parameter 'argv' can be declared as const array [constParameter] FD-3.01j/mkkanji.c:24:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkmfsed.c:76:18: debug: Function::addArguments found argument 's2' with varid 0. [varid0] FD-3.01j/mkmfsed.c:82:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s2 [valueFlowBailoutIncompleteVar] FD-3.01j/mkmfsed.c:118:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] FD-3.01j/mkmfsed.c:230:6: style: Condition 'utf' is always false [knownConditionTrueFalse] FD-3.01j/mkmfsed.c:219:8: note: Assignment 'utf=NULL', assigned value is 0 FD-3.01j/mkmfsed.c:230:6: note: Condition 'utf' is always false FD-3.01j/mkmfsed.c:237:6: style: Condition 'utf' is always false [knownConditionTrueFalse] FD-3.01j/mkmfsed.c:219:8: note: Assignment 'utf=NULL', assigned value is 0 FD-3.01j/mkmfsed.c:237:6: note: Condition 'utf' is always false FD-3.01j/mkmfsed.c:98:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/mktankan.c:718:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mktankan.c:685:11: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] FD-3.01j/mktankan.c:709:13: style: Parameter 'argv' can be declared as const array [constParameter] FD-3.01j/mkunitbl.c:10318:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/mkunitbl.c:10377:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] FD-3.01j/mkunitbl.c:10325:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] FD-3.01j/mkunitbl.c:10224:13: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkunitbl.c:10224:19: style: Variable 'tp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkunitbl.c:10239:11: style: Variable 'tp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkunitbl.c:10239:17: style: Variable 'tp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/mkunitbl.c:10304:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/mkunitbl.c:10309:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] FD-3.01j/mntinfo.c:346:8: style: Parameter 'mntp' can be declared as pointer to const [constParameterPointer] FD-3.01j/mntinfo.c:347:13: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] FD-3.01j/parse.c:539:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/parse.c:707:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/parse.c:250:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:251:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:252:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:253:13: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:254:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:276:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:277:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:278:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:279:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:280:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/parse.c:250:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:251:18: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:252:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:253:13: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:254:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:276:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:277:18: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:278:14: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:279:12: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/parse.c:280:10: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/pathname.c:180:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:374:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:463:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:1617:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:1906:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:2112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:3011:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pathname.c:2551:9: error: Returning pointer to local variable 'tmp' that will be invalid when returning. [returnDanglingLifetime] FD-3.01j/pathname.c:2519:9: note: Array decayed to pointer here. FD-3.01j/pathname.c:2546:9: note: Assuming condition is false FD-3.01j/pathname.c:2450:23: note: Variable created here. FD-3.01j/pathname.c:2551:9: note: Returning pointer to local variable 'tmp' that will be invalid when returning. FD-3.01j/pathname.c:3035:9: error:inconclusive: Returning pointer to local variable 'buf' that will be invalid when returning. [returnDanglingLifetime] FD-3.01j/pathname.c:3015:13: note: Array decayed to pointer here. FD-3.01j/pathname.c:3011:7: note: Variable created here. FD-3.01j/pathname.c:3035:9: note: Returning pointer to local variable 'buf' that will be invalid when returning. FD-3.01j/pathname.c:449:17: style: Array index 'n' is used before limits check. [arrayIndexThenCheck] FD-3.01j/pathname.c:1829:16: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] FD-3.01j/pathname.c:1885:16: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] FD-3.01j/pathname.c:2781:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] FD-3.01j/pathname.c:2809:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] FD-3.01j/pathname.c:2824:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] FD-3.01j/pathname.c:2857:9: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] FD-3.01j/pathname.c:2872:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] FD-3.01j/pathname.c:3097:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] FD-3.01j/pathname.c:195:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:346:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:400:18: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:457:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:574:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:597:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:668:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1143:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1526:13: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1538:13: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1783:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1849:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1898:13: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:2302:13: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:2618:13: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:2768:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] FD-3.01j/pathname.c:2791:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:2839:13: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:2895:12: style: Variable 'up' can be declared as pointer to const [constVariablePointer] FD-3.01j/pathname.c:3414:20: style: Parameter 'eol' can be declared as pointer to const [constParameterPointer] FD-3.01j/pathname.c:1713:9: style: Variable 'dlen' is assigned a value that is never used. [unreadVariable] FD-3.01j/posixsh.c:57:8: style: struct member '_mailpath_t::path' is never used. [unusedStructMember] FD-3.01j/posixsh.c:58:8: style: struct member '_mailpath_t::msg' is never used. [unusedStructMember] FD-3.01j/posixsh.c:59:9: style: struct member '_mailpath_t::mtime' is never used. [unusedStructMember] FD-3.01j/printf.c:200:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/printf.c:702:13: style: Condition '*cp!=0x5a' is always false [knownConditionTrueFalse] FD-3.01j/printf.c:700:11: note: Assignment 'tmp=0x5a', assigned value is 90 FD-3.01j/printf.c:702:13: note: Condition '*cp!=0x5a' is always false FD-3.01j/printf.c:599:28: style: Variable 'width' is reassigned a value before the old one has been used. [redundantAssignment] FD-3.01j/printf.c:593:9: note: width is assigned FD-3.01j/printf.c:599:28: note: width is overwritten FD-3.01j/printf.c:171:11: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/printf.c:172:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/printf.c:173:20: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/printf.c:115:13: style: Parameter 'pbufp' can be declared as pointer to const [constParameterPointer] FD-3.01j/printf.c:164:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/printf.c:185:13: style: Parameter 'pbufp' can be declared as pointer to const [constParameterPointer] FD-3.01j/printf.c:171:11: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/printf.c:172:12: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/printf.c:173:20: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] FD-3.01j/pty.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/pty.c:184:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pty.c:249:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] FD-3.01j/pty.c:284:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/pty.c:103:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/pty.c:125:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/realpath.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/realpath.c:143:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/realpath.c:174:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/realpath.c:277:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/realpath.c:174:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/realpath.c:250:20: style: Variable 'rlen' is assigned a value that is never used. [unreadVariable] FD-3.01j/realpath.c:259:8: style: Variable 'rlen' is assigned a value that is never used. [unreadVariable] FD-3.01j/rockridg.c:73:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/rockridg.c:277:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/rockridg.c:341:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/rockridg.c:73:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/rockridg.c:264:13: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] FD-3.01j/rockridg.c:291:8: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] FD-3.01j/rockridg.c:327:13: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] FD-3.01j/rockridg.c:355:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/roman.c:174:14: style: Variable 'rp1' can be declared as pointer to const [constVariablePointer] FD-3.01j/roman.c:174:20: style: Variable 'rp2' can be declared as pointer to const [constVariablePointer] FD-3.01j/roman.c:183:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/roman.c:204:16: style: Parameter 'kbuf' can be declared as pointer to const [constParameterPointer] FD-3.01j/roman.c:294:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/shell.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:219:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:539:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:871:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:1143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HITKY_K [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:1344:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpflags [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:1643:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:1677:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] FD-3.01j/shell.c:1590:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:1625:42: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:1655:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:1710:28: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:1712:25: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:1714:12: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] FD-3.01j/shell.c:171:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/shell.c:219:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/shell.c:1700:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/stream.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:184:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:270:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:310:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:347:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:461:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:533:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:615:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:683:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:694:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:948:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/stream.c:656:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] FD-3.01j/stream.c:109:13: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] FD-3.01j/stream.c:200:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/string.c:78:13: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/string.c:93:13: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/string.c:112:18: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/string.c:134:18: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] FD-3.01j/sysemu.c:224:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/sysemu.c:1298:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/sysemu.c:1610:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] FD-3.01j/sysemu.c:2209:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/sysemu.c:1614:6: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] FD-3.01j/sysemu.c:2248:6: style: Condition '!n' is always false [knownConditionTrueFalse] FD-3.01j/sysemu.c:2226:6: note: Assignment 'n=1', assigned value is 1 FD-3.01j/sysemu.c:2248:6: note: Condition '!n' is always false FD-3.01j/sysemu.c:1195:7: style: Redundant assignment of 'path' to itself. [selfAssignment] FD-3.01j/sysemu.c:1299:10: style: Redundant assignment of 'cp' to itself. [selfAssignment] FD-3.01j/sysemu.c:1631:7: style: Redundant assignment of 'path' to itself. [selfAssignment] FD-3.01j/sysemu.c:2108:7: style: Redundant assignment of 'path' to itself. [selfAssignment] FD-3.01j/sysemu.c:1579:13: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] FD-3.01j/sysemu.c:1580:24: style: Parameter 'utp' can be declared as pointer to const [constParameterPointer] FD-3.01j/sysemu.c:106:9: style: struct member '_openstat_t::type' is never used. [unusedStructMember] FD-3.01j/sysemu.c:107:9: style: struct member '_openstat_t::dev' is never used. [unusedStructMember] FD-3.01j/sysemu.c:114:7: style: struct member '_openstat_t::dirp' is never used. [unusedStructMember] FD-3.01j/sysemu.c:115:6: style: struct member '_openstat_t::fd' is never used. [unusedStructMember] FD-3.01j/system.c:61:6: style: struct member '_lockbuf_t::fd' is never used. [unusedStructMember] FD-3.01j/term.c:839:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGETP [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:892:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGETP [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:938:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGETP [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:966:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBREAK [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:976:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBREAK [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:985:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAW [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:994:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1003:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1012:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRMOD [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1021:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRMOD [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1030:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTABS [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1039:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTABS [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1051:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1133:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1284:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1359:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:1846:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:2425:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:3010:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:3056:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:3136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] FD-3.01j/term.c:3201:29: style: Condition 'x<0' is always true [knownConditionTrueFalse] FD-3.01j/term.c:3177:0: note: Assignment 'x=-1', assigned value is -1 FD-3.01j/term.c:3201:29: note: Condition 'x<0' is always true FD-3.01j/term.c:832:17: style: Variable 'ccp' can be declared as pointer to const [constVariablePointer] FD-3.01j/term.c:834:22: style: Variable 'ttyp' can be declared as pointer to const [constVariablePointer] FD-3.01j/term.c:1368:8: style: Variable 'format' can be declared as pointer to const [constVariablePointer] FD-3.01j/termemu.c:156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/termemu.c:264:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termemu.c:711:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOPTY_K [valueFlowBailoutIncompleteVar] FD-3.01j/termemu.c:739:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/termemu.c:384:13: style: Parameter 'trp' can be declared as pointer to const [constParameterPointer] FD-3.01j/termio.c:289:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:361:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:373:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:390:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:440:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFD [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:592:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSETN [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:642:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tchars [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:743:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/termio.c:698:10: style: Parameter 'fds' can be declared as const array [constParameter] FD-3.01j/time.c:107:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XF_ERROR [valueFlowBailoutIncompleteVar] FD-3.01j/time.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/time.c:226:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/time.c:261:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] FD-3.01j/time.c:76:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] FD-3.01j/time.c:85:18: style: Parameter 'tm1' can be declared as pointer to const [constParameterPointer] FD-3.01j/time.c:85:24: style: Parameter 'tm2' can be declared as pointer to const [constParameterPointer] FD-3.01j/time.c:173:18: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] FD-3.01j/tree.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/tree.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/tree.c:687:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGD_K [valueFlowBailoutIncompleteVar] FD-3.01j/tree.c:728:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/tree.c:845:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOROW_K [valueFlowBailoutIncompleteVar] FD-3.01j/tree.c:231:52: style: Condition 'list[i].ino==(ino_t)-1' is always false [knownConditionTrueFalse] FD-3.01j/tree.c:788:6: style: Condition '!(tr_cur=&(tr_cur->sub[0]))' is always false [knownConditionTrueFalse] FD-3.01j/tree.c:131:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] FD-3.01j/tree.c:586:12: style: Variable 'old' can be declared as pointer to const [constVariablePointer] FD-3.01j/unixdisk.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:322:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dosdrive [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:404:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:459:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:573:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:616:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:629:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOS_RESET [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:651:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sectsize [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:765:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:873:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIOS_TYPE [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:941:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sectsize [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1046:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dosdrive [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1120:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f_sect [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1236:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doint25 [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1348:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1410:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dosfind_t [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1458:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATETIMEFORMAT [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1487:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATETIMEFORMAT [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1605:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DID_IFLFN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1623:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1696:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DID_IFLFN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1729:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1803:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1852:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1918:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1949:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1976:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2055:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:2299:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] FD-3.01j/unixdisk.c:1228:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] FD-3.01j/urldisk.c:22:6: style: struct member '_urlopen_t::fd' is never used. [unusedStructMember] FD-3.01j/urldisk.c:23:6: style: struct member '_urlopen_t::uh' is never used. [unusedStructMember] FD-3.01j/urldisk.c:24:8: style: struct member '_urlopen_t::path' is never used. [unusedStructMember] FD-3.01j/urldisk.c:25:6: style: struct member '_urlopen_t::flags' is never used. [unusedStructMember] diff: head FD-3.01j/builtin.c:2176:37: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] head FD-3.01j/custom.c:417:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:419:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:430:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:431:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:433:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:436:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:439:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:441:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:445:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:459:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:462:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:466:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:468:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:488:29: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:508:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:512:27: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:519:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/custom.c:767:32: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] head FD-3.01j/main.c:368:22: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head FD-3.01j/main.c:863:27: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.17.0 FD-3.01j/pathname.c:1340:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 FD-3.01j/pathname.c:1915:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 FD-3.01j/time.c:198:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] DONE