2024-04-13 09:41 ftp://ftp.de.debian.org/debian/pool/main/t/tds-fdw/tds-fdw_2.0.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 26da798 (2024-04-13 11:33:47 +0200) count: 73 24 elapsed-time: 0.5 0.4 head-timing-info: old-timing-info: head results: tds_fdw-2.0.3/src/options.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignServerRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:234:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignServerRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:464:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignServerRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:542:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignTableRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:665:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserMappingRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:726:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:859:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperatorRelationId [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:338:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:756:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:802:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:888:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1065:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1107:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLCKSZ [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESCAPE_STRING_SYNTAX [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1595:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1648:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1738:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1776:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAMEDATALEN [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1847:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1947:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:1978:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/deparse.c:2061:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTLessStrategyNumber [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:131:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FdwRoutine [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:197:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGC_SUSET [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:349:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_UPDATE [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:460:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBVERSION_UNKNOWN [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:645:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:912:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYBCHAR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1271:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1560:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBTEXTSIZE [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_MORE_ROWS [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:1959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:2031:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:2257:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TdsFdwRelationInfo [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:2424:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:2775:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:2896:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:3959:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INT_CANCEL [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/tds_fdw.c:3970:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] tds_fdw-2.0.3/src/options.c:847:56: style: Parameter 'option_set' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/deparse.c:913:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] tds_fdw-2.0.3/src/deparse.c:958:9: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] tds_fdw-2.0.3/src/deparse.c:950:10: note: first is assigned tds_fdw-2.0.3/src/deparse.c:958:9: note: first is overwritten tds_fdw-2.0.3/src/deparse.c:1307:19: style:inconclusive: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. [funcArgNamesDifferent] tds_fdw-2.0.3/src/deparse.c:150:31: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. tds_fdw-2.0.3/src/deparse.c:1307:19: note: Function 'deparseExpr' argument 1 names different: declaration 'expr' definition 'node'. tds_fdw-2.0.3/src/deparse.c:350:14: style: Variable 'var' can be declared as pointer to const [constVariablePointer] tds_fdw-2.0.3/src/deparse.c:431:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tds_fdw-2.0.3/src/deparse.c:795:23: style: Parameter 'option_set' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/deparse.c:1122:11: style: Variable 'colname' can be declared as pointer to const [constVariablePointer] tds_fdw-2.0.3/src/deparse.c:1179:11: style: Variable 'colname' can be declared as pointer to const [constVariablePointer] tds_fdw-2.0.3/src/deparse.c:1427:45: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/deparse.c:1993:24: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/deparse.c:2019:27: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/deparse.c:1498:15: style: Variable 'isfloat' is assigned a value that is never used. [unreadVariable] tds_fdw-2.0.3/src/tds_fdw.c:1314:54: style: Condition 'tdsSetupConnection(&option_set,login,&dbproc)!=0' is always false [knownConditionTrueFalse] tds_fdw-2.0.3/src/tds_fdw.c:1314:24: note: Calling function 'tdsSetupConnection' returns 0 tds_fdw-2.0.3/src/tds_fdw.c:1314:54: note: Condition 'tdsSetupConnection(&option_set,login,&dbproc)!=0' is always false tds_fdw-2.0.3/src/tds_fdw.c:2130:54: style: Condition 'tdsSetupConnection(option_set,login,&dbproc)!=0' is always false [knownConditionTrueFalse] tds_fdw-2.0.3/src/tds_fdw.c:2130:25: note: Calling function 'tdsSetupConnection' returns 0 tds_fdw-2.0.3/src/tds_fdw.c:2130:54: note: Condition 'tdsSetupConnection(option_set,login,&dbproc)!=0' is always false tds_fdw-2.0.3/src/tds_fdw.c:1726:7: style: Local variable 'ncol' shadows outer variable [shadowVariable] tds_fdw-2.0.3/src/tds_fdw.c:1537:6: note: Shadowed declaration tds_fdw-2.0.3/src/tds_fdw.c:1726:7: note: Shadow variable tds_fdw-2.0.3/src/tds_fdw.c:419:8: style: Variable 'servers' can be declared as pointer to const [constVariablePointer] tds_fdw-2.0.3/src/tds_fdw.c:1060:43: style: Parameter 'option_set' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/tds_fdw.c:1343:68: style: Parameter 'option_set' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/tds_fdw.c:2392:54: style: Parameter 'baserel' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/tds_fdw.c:2747:71: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/tds_fdw.c:2747:90: style: Parameter 'totalpages' can be declared as pointer to const [constParameterPointer] tds_fdw-2.0.3/src/tds_fdw.c:4000:42: style: Parameter 'dbproc' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'dbproc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:42: note: Parameter 'dbproc' can be declared as pointer to const tds_fdw-2.0.3/src/tds_fdw.c:4000:97: style: Parameter 'msgtext' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'msgtext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:97: note: Parameter 'msgtext' can be declared as pointer to const tds_fdw-2.0.3/src/tds_fdw.c:4000:112: style: Parameter 'svr_name' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'svr_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:112: note: Parameter 'svr_name' can be declared as pointer to const tds_fdw-2.0.3/src/tds_fdw.c:4000:128: style: Parameter 'proc_name' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'proc_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:128: note: Parameter 'proc_name' can be declared as pointer to const tds_fdw-2.0.3/src/tds_fdw.c:605:12: style: Variable 'erc' is assigned a value that is never used. [unreadVariable] diff: head tds_fdw-2.0.3/src/deparse.c:1065:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FirstLowInvalidHeapAttributeNumber [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1107:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLCKSZ [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1127:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESCAPE_STRING_SYNTAX [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1595:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1648:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COERCE_IMPLICIT_CAST [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1738:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1776:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAMEDATALEN [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1847:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1947:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IS_NULL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:1978:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:2061:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BTLessStrategyNumber [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperatorRelationId [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:338:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:756:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoLock [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:802:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/deparse.c:888:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:234:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignServerRelationId [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:464:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignServerRelationId [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:542:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForeignTableRelationId [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:665:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserMappingRelationId [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:726:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/options.c:859:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYBCHAR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1271:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1560:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBTEXTSIZE [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1908:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_MORE_ROWS [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:1959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:197:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGC_SUSET [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:2031:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:2257:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TdsFdwRelationInfo [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:2424:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:2747:71: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] head tds_fdw-2.0.3/src/tds_fdw.c:2747:90: style: Parameter 'totalpages' can be declared as pointer to const [constParameterPointer] head tds_fdw-2.0.3/src/tds_fdw.c:2775:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:2896:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:349:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_UPDATE [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:3959:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INT_CANCEL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:3970:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:4000:112: style: Parameter 'svr_name' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'svr_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:112: note: Parameter 'svr_name' can be declared as pointer to const head tds_fdw-2.0.3/src/tds_fdw.c:4000:128: style: Parameter 'proc_name' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'proc_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:128: note: Parameter 'proc_name' can be declared as pointer to const head tds_fdw-2.0.3/src/tds_fdw.c:4000:42: style: Parameter 'dbproc' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'dbproc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:42: note: Parameter 'dbproc' can be declared as pointer to const head tds_fdw-2.0.3/src/tds_fdw.c:4000:97: style: Parameter 'msgtext' can be declared as pointer to const. However it seems that 'tds_blackhole_msg_handler' is a callback function, if 'msgtext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tds_fdw-2.0.3/src/tds_fdw.c:2105:17: note: You might need to cast the function pointer here tds_fdw-2.0.3/src/tds_fdw.c:4000:97: note: Parameter 'msgtext' can be declared as pointer to const head tds_fdw-2.0.3/src/tds_fdw.c:460:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBVERSION_UNKNOWN [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:645:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] head tds_fdw-2.0.3/src/tds_fdw.c:912:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAIL [valueFlowBailoutIncompleteVar] DONE