2025-05-10 01:15 ftp://ftp.de.debian.org/debian/pool/main/d/deal/deal_3.1.9.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 272 271 elapsed-time: 5.1 5.3 head-timing-info: old-timing-info: head results: deal319/additive.h:22:11: error: There is an unknown macro here somewhere. Configuration is required. If _ANSI_ARGS_ is a macro then please configure it. [unknownMacro] deal319/deal.c:76:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/deal.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] deal319/deal.c:280:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deal319/deal.c:486:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/deal.c:526:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/deal.c:539:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/deal.c:556:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:90:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:364:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:375:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:386:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:415:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:430:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:446:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:464:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/dealtypes.c:210:34: style:inconclusive: Function 'getStringForHoldingNum' argument 1 names different: declaration 'holding' definition 'hnum'. [funcArgNamesDifferent] deal319/dealtypes.h:38:34: note: Function 'getStringForHoldingNum' argument 1 names different: declaration 'holding' definition 'hnum'. deal319/dealtypes.c:210:34: note: Function 'getStringForHoldingNum' argument 1 names different: declaration 'holding' definition 'hnum'. deal319/dealtypes.c:360:53: style:inconclusive: Function 'getDenomNumFromObj' argument 2 names different: declaration 'suit' definition 'denom'. [funcArgNamesDifferent] deal319/dealtypes.h:33:53: note: Function 'getDenomNumFromObj' argument 2 names different: declaration 'suit' definition 'denom'. deal319/dealtypes.c:360:53: note: Function 'getDenomNumFromObj' argument 2 names different: declaration 'suit' definition 'denom'. deal319/dealtypes.c:412:55: style:inconclusive: Function 'getHoldingNumFromObj' argument 2 names different: declaration 'card' definition 'holding'. [funcArgNamesDifferent] deal319/dealtypes.h:35:55: note: Function 'getHoldingNumFromObj' argument 2 names different: declaration 'card' definition 'holding'. deal319/dealtypes.c:412:55: note: Function 'getHoldingNumFromObj' argument 2 names different: declaration 'card' definition 'holding'. deal319/dealtypes.c:437:75: style:inconclusive: Function 'getHandHoldingsFromObjv' argument 3 names different: declaration 'harray' definition 'retHoldings'. [funcArgNamesDifferent] deal319/dealtypes.h:40:76: note: Function 'getHandHoldingsFromObjv' argument 3 names different: declaration 'harray' definition 'retHoldings'. deal319/dealtypes.c:437:75: note: Function 'getHandHoldingsFromObjv' argument 3 names different: declaration 'harray' definition 'retHoldings'. deal319/dealtypes.c:459:63: style:inconclusive: Function 'getHandHoldingsFromObj' argument 3 names different: declaration 'harray' definition 'retHoldings'. [funcArgNamesDifferent] deal319/dealtypes.h:39:66: note: Function 'getHandHoldingsFromObj' argument 3 names different: declaration 'harray' definition 'retHoldings'. deal319/dealtypes.c:459:63: note: Function 'getHandHoldingsFromObj' argument 3 names different: declaration 'harray' definition 'retHoldings'. deal319/dealtypes.c:439:7: style: Local variable 'cards' shadows outer variable [shadowVariable] deal319/deal.h:47:13: note: Shadowed declaration deal319/dealtypes.c:439:7: note: Shadow variable deal319/dealtypes.c:169:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] deal319/dealtypes.c:170:9: style: Variable 'cardCursor' can be declared as pointer to const [constVariablePointer] deal319/dealtypes.c:482:40: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] deal319/dealtypes.c:487:40: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] deal319/deal.c:551:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] deal319/deal.c:339:15: style: Variable 'suit_chars' can be declared as const array [constVariable] deal319/deal.c:419:25: style: Parameter 'dummy' can be declared as pointer to const [constParameterPointer] deal319/deal.c:433:12: style: Parameter 'dummy' can be declared as pointer to const [constParameterPointer] deal319/deal.c:435:14: style: Variable 'hcptable' can be declared as const array [constVariable] deal319/deal.c:448:13: style: Parameter 'dummy' can be declared as pointer to const [constParameterPointer] deal319/deal.c:535:32: style: Parameter 'holdings' can be declared as pointer to const [constParameterPointer] deal319/deal.c:547:29: style: Parameter 'hstring' can be declared as pointer to const [constParameterPointer] deal319/deal.c:550:18: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] deal319/deal.c:566:12: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] deal319/formats.c:37:11: style: Parameter 'hptrs' can be declared as pointer to const [constParameterPointer] deal319/dist.c:211:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:352:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] deal319/dist.c:536:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:586:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:631:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:664:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:685:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:706:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:721:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:735:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/dist.c:772:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/holdings.c:156:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:242:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:303:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] deal319/holdings.c:539:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] deal319/holdings.c:611:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/holdings.c:678:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:784:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:928:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:990:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/holdings.c:1141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/holdings.c:918:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] deal319/holdings.c:1083:18: style: Condition 'holding<0' is always false [knownConditionTrueFalse] deal319/holdings.c:1080:16: note: Assuming that condition 'holding<0' is not redundant deal319/holdings.c:1083:18: note: Condition 'holding<0' is always false deal319/holdings.c:1083:29: style: Condition 'holding>8191' is always false [knownConditionTrueFalse] deal319/holdings.c:1080:29: note: Assuming that condition 'holding>8191' is not redundant deal319/holdings.c:1083:29: note: Condition 'holding>8191' is always false deal319/holdings.c:802:21: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] deal319/holdings.c:804:21: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] deal319/holdings.c:383:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] deal319/holdings.c:556:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] deal319/holdings.c:670:8: style: Parameter 'holdings' can be declared as pointer to const [constParameterPointer] deal319/holdings.c:918:9: style: Variable 'objc' is assigned a value that is never used. [unreadVariable] deal319/keywords.c:94:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/keywords.c:132:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/keywords.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/keywords.c:207:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/keywords.c:234:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STRING_KEYS [valueFlowBailoutIncompleteVar] deal319/keywords.c:122:21: style: Parameter 'alias' can be declared as pointer to const [constParameterPointer] deal319/keywords.c:139:26: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] deal319/dist.c:220:13: style: Variable 'command' can be declared as pointer to const [constVariablePointer] deal319/dist.c:385:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] deal319/random.c:219:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deal319/random.c:297:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deal319/stat.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/stat.c:306:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/stat.c:432:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/stat.c:441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/stringbox.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/stringbox.c:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/stringbox.c:379:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/stringbox.c:410:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/stat.c:429:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] deal319/stat.c:429:11: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] deal319/stat.c:78:9: style: Local variable 'sdev' shadows outer function [shadowFunction] deal319/stat.h:35:8: note: Shadowed declaration deal319/stat.c:78:9: note: Shadow variable deal319/stat.c:35:12: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] deal319/stat.c:43:12: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] deal319/stat.c:105:32: style: Parameter 'corr' can be declared as pointer to const [constParameterPointer] deal319/stat.c:136:7: style: Parameter 'sd' can be declared as pointer to const [constParameterPointer] deal319/stat.c:429:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] deal319/stringbox.c:54:12: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] deal319/stringbox.c:90:16: style: Variable 'col' is assigned a value that is never used. [unreadVariable] deal319/tcl_dds.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:142:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:325:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:406:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:151:79: warning: Logical conjunction always evaluates to false: goal < 1 && goal > 13. [incorrectLogicOperator] deal319/tcl_dds.c:338:86: warning: Logical conjunction always evaluates to false: goal < 1 && goal > 13. [incorrectLogicOperator] deal319/dds.cpp:1182:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depth [valueFlowBailoutIncompleteVar] deal319/dds.cpp:2957:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] deal319/tcl_dds.c:37:15: style: Local variable 'suits' shadows outer variable [shadowVariable] deal319/deal.h:46:13: note: Shadowed declaration deal319/tcl_dds.c:37:15: note: Shadow variable deal319/tcl_dds.c:163:20: style: Local variable 'cards' shadows outer variable [shadowVariable] deal319/deal.h:47:13: note: Shadowed declaration deal319/tcl_dds.c:163:20: note: Shadow variable deal319/tcl_dds.c:77:50: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'tcl_double_dummy_reset' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] deal319/tcl_dds.c:405:43: note: You might need to cast the function pointer here deal319/tcl_dds.c:77:50: note: Parameter 'interp' can be declared as pointer to const deal319/dds.cpp:1226:24: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:1224:60: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:1226:24: note: Array index out of bounds deal319/dds.cpp:1986:32: warning: Either the condition 'k<=3' is redundant or the array 'posPoint->diagram.cards[4][4]' is accessed at index posPoint->diagram.cards[*][4], which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:1976:11: note: Assuming that condition 'k<=3' is not redundant deal319/dds.cpp:1986:32: note: Array index out of bounds deal319/dds.cpp:2798:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2796:17: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2798:26: note: Array index out of bounds deal319/dds.cpp:2805:24: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2803:13: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2805:24: note: Array index out of bounds deal319/dds.cpp:2806:24: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2803:13: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2806:24: note: Array index out of bounds deal319/dds.cpp:2816:28: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2814:62: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2816:28: note: Array index out of bounds deal319/dds.cpp:2817:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2814:62: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2817:26: note: Array index out of bounds deal319/dds.cpp:2833:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2831:15: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2833:26: note: Array index out of bounds deal319/dds.cpp:2835:24: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2831:15: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2835:24: note: Array index out of bounds deal319/dds.cpp:2874:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2872:17: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2874:26: note: Array index out of bounds deal319/dds.cpp:2879:24: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2877:58: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2879:24: note: Array index out of bounds deal319/dds.cpp:2881:22: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2877:58: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2881:22: note: Array index out of bounds deal319/dds.cpp:2891:28: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2889:52: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2891:28: note: Array index out of bounds deal319/dds.cpp:2893:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2889:52: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2893:26: note: Array index out of bounds deal319/dds.cpp:2907:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2905:52: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2907:26: note: Array index out of bounds deal319/dds.cpp:2908:26: warning: Either the condition 'depth>0' is redundant or the array 'posPoint->stack[50]' is accessed at index 50, which is out of bounds. [arrayIndexOutOfBoundsCond] deal319/dds.cpp:2905:52: note: Assuming that condition 'depth>0' is not redundant deal319/dds.cpp:2908:26: note: Array index out of bounds deal319/dds.h:76:10: warning: Member variable 'RelativeRanksFinder::relative' is not initialized in the constructor. [uninitMemberVar] deal319/dds.cpp:124:3: warning: Member variable 'UnplayedCardsFinder::starting' is not initialized in the constructor. [uninitMemberVar] deal319/dds.cpp:135:20: style:inconclusive: Technically the member function 'UnplayedCardsFinder::getUnplayed' can be const. [functionConst] deal319/Holding.h:12:10: style: Struct 'Holding' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] deal319/dds.cpp:2789:22: style: Condition 'contract.trumpContract' is always true [knownConditionTrueFalse] deal319/dds.cpp:2789:78: style: Condition 'posPoint->winner[contract.trump].rank!=0' is always true [knownConditionTrueFalse] deal319/dds.cpp:2824:22: style: Condition 'contract.trumpContract' is always true [knownConditionTrueFalse] deal319/dds.cpp:2866:22: style: Condition 'contract.trumpContract' is always true [knownConditionTrueFalse] deal319/dds.cpp:2866:78: style: Condition 'posPoint->winner[contract.trump].rank!=0' is always true [knownConditionTrueFalse] deal319/dds.cpp:2900:22: style: Condition 'contract.trumpContract' is always true [knownConditionTrueFalse] deal319/dds.cpp:3840:17: style: Condition 's<4' is always true [knownConditionTrueFalse] deal319/dds.cpp:3813:12: note: Assuming that condition 's==3' is not redundant deal319/dds.cpp:3840:17: note: Condition 's<4' is always true deal319/dds.cpp:823:15: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:839:15: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:851:9: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:854:9: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:857:9: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:879:12: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:884:12: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:889:12: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:896:14: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:4396:21: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:4424:21: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:4448:21: style: C-style pointer casting [cstyleCast] deal319/dds.cpp:3050:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] deal319/dds.cpp:3065:5: note: Found duplicate branches for 'if' and 'else'. deal319/dds.cpp:3050:5: note: Found duplicate branches for 'if' and 'else'. deal319/dds.cpp:1860:6: style: Variable 'u' is reassigned a value before the old one has been used. [redundantAssignment] deal319/dds.cpp:1845:6: note: u is assigned deal319/dds.cpp:1860:6: note: u is overwritten deal319/dds.cpp:1861:6: style: Variable 'w' is reassigned a value before the old one has been used. [redundantAssignment] deal319/dds.cpp:1846:6: note: w is assigned deal319/dds.cpp:1861:6: note: w is overwritten deal319/Holding.h:21:22: style: The scope of the variable 'cards' can be reduced. [variableScope] deal319/Holding.h:22:7: style: The scope of the variable 'index' can be reduced. [variableScope] deal319/dds.cpp:96:8: style: The scope of the variable 'inSequence' can be reduced. [variableScope] deal319/dds.cpp:151:58: style: The scope of the variable 'flag' can be reduced. [variableScope] deal319/dds.cpp:153:7: style: The scope of the variable 'mcurr' can be reduced. [variableScope] deal319/dds.cpp:158:7: style: The scope of the variable 'maxSeat' can be reduced. [variableScope] deal319/dds.cpp:158:18: style: The scope of the variable 'maxSuit' can be reduced. [variableScope] deal319/dds.cpp:158:29: style: The scope of the variable 'maxRank' can be reduced. [variableScope] deal319/dds.cpp:1754:10: style: The scope of the variable 's' can be reduced. [variableScope] deal319/dds.cpp:1755:23: style: The scope of the variable 'count' can be reduced. [variableScope] deal319/dds.cpp:1755:30: style: The scope of the variable 'mcurr' can be reduced. [variableScope] deal319/dds.cpp:1755:37: style: The scope of the variable 'h' can be reduced. [variableScope] deal319/dds.cpp:1755:40: style: The scope of the variable 'q' can be reduced. [variableScope] deal319/dds.cpp:1755:43: style: The scope of the variable 'done' can be reduced. [variableScope] deal319/dds.cpp:1874:10: style: The scope of the variable 's' can be reduced. [variableScope] deal319/dds.cpp:2016:22: style: The scope of the variable 'sb' can be reduced. [variableScope] deal319/dds.cpp:2043:22: style: The scope of the variable 'sb' can be reduced. [variableScope] deal319/dds.cpp:2137:7: style: The scope of the variable 'opps' can be reduced. [variableScope] deal319/dds.cpp:2138:7: style: The scope of the variable 'countLho' can be reduced. [variableScope] deal319/dds.cpp:2138:17: style: The scope of the variable 'countRho' can be reduced. [variableScope] deal319/dds.cpp:2138:27: style: The scope of the variable 'countPart' can be reduced. [variableScope] deal319/dds.cpp:2138:38: style: The scope of the variable 'countOwn' can be reduced. [variableScope] deal319/dds.cpp:2139:35: style: The scope of the variable 'count' can be reduced. [variableScope] deal319/dds.cpp:2767:15: style: The scope of the variable 'sum' can be reduced. [variableScope] deal319/dds.cpp:2845:15: style: The scope of the variable 'sum' can be reduced. [variableScope] deal319/dds.cpp:2954:7: style: The scope of the variable 'suit' can be reduced. [variableScope] deal319/dds.cpp:2954:19: style: The scope of the variable 'n' can be reduced. [variableScope] deal319/dds.cpp:2955:7: style: The scope of the variable 'scount' can be reduced. [variableScope] deal319/dds.cpp:3016:15: style: The scope of the variable 'unplayedCardsRank' can be reduced. [variableScope] deal319/dds.cpp:3018:15: style: The scope of the variable 'allCards' can be reduced. [variableScope] deal319/dds.cpp:3098:18: style: The scope of the variable 'suitCount' can be reduced. [variableScope] deal319/dds.cpp:3639:10: style: The scope of the variable 'j' can be reduced. [variableScope] deal319/dds.cpp:3700:16: style: The scope of the variable 'rank' can be reduced. [variableScope] deal319/dds.cpp:3700:22: style: The scope of the variable 'suit' can be reduced. [variableScope] deal319/dds.cpp:3876:7: style: The scope of the variable 'found' can be reduced. [variableScope] deal319/dds.cpp:3879:26: style: The scope of the variable 'sopP' can be reduced. [variableScope] deal319/dds.cpp:4081:13: style: The scope of the variable 'w' can be reduced. [variableScope] deal319/dds.cpp:4257:13: style: The scope of the variable 'lw' can be reduced. [variableScope] deal319/dds.cpp:908:86: style:inconclusive: Function 'InitGame' argument 5 names different: declaration 'position' definition 'iniPosition'. [funcArgNamesDifferent] deal319/dds.h:485:85: note: Function 'InitGame' argument 5 names different: declaration 'position' definition 'iniPosition'. deal319/dds.cpp:908:86: note: Function 'InitGame' argument 5 names different: declaration 'position' definition 'iniPosition'. deal319/dds.cpp:3725:47: style:inconclusive: Function 'WinningMove' argument 1 names different: declaration 'mvp1' definition 'mv1'. [funcArgNamesDifferent] deal319/dds.h:494:47: note: Function 'WinningMove' argument 1 names different: declaration 'mvp1' definition 'mv1'. deal319/dds.cpp:3725:47: note: Function 'WinningMove' argument 1 names different: declaration 'mvp1' definition 'mv1'. deal319/dds.cpp:3725:75: style:inconclusive: Function 'WinningMove' argument 2 names different: declaration 'mvp2' definition 'mv2'. [funcArgNamesDifferent] deal319/dds.h:494:75: note: Function 'WinningMove' argument 2 names different: declaration 'mvp2' definition 'mv2'. deal319/dds.cpp:3725:75: note: Function 'WinningMove' argument 2 names different: declaration 'mvp2' definition 'mv2'. deal319/ddsLookup.h:46:7: style: Local variable 'n' shadows outer variable [shadowVariable] deal319/dds.cpp:1157:13: note: Shadowed declaration deal319/ddsLookup.h:46:7: note: Shadow variable deal319/ddsLookup.h:46:9: style: Local variable 'rank' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:29: note: Shadowed declaration deal319/ddsLookup.h:46:9: note: Shadow variable deal319/dds.h:77:14: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.h:77:14: note: Shadow variable deal319/dds.h:90:15: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.h:90:15: note: Shadow variable deal319/dds.h:103:16: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.h:90:15: note: Shadowed declaration deal319/dds.h:103:16: note: Shadow variable deal319/dds.h:119:15: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.h:119:15: note: Shadow variable deal319/dds.h:254:15: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.h:254:15: note: Shadow variable deal319/dds.h:265:14: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.h:265:14: note: Shadow variable deal319/dds.h:266:17: style: Local variable 'aggr' shadows outer variable [shadowVariable] deal319/dds.cpp:1166:11: note: Shadowed declaration deal319/dds.h:266:17: note: Shadow variable deal319/dds.h:276:15: style: Local variable 'aggr' shadows outer variable [shadowVariable] deal319/dds.cpp:1166:11: note: Shadowed declaration deal319/dds.h:276:15: note: Shadow variable deal319/dds.h:292:9: style: Local variable 'ss' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:9: note: Shadowed declaration deal319/dds.h:292:9: note: Shadow variable deal319/dds.cpp:128:16: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:128:16: note: Shadow variable deal319/dds.cpp:150:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:150:7: note: Shadow variable deal319/dds.cpp:150:10: style: Local variable 'n' shadows outer variable [shadowVariable] deal319/dds.cpp:1157:13: note: Shadowed declaration deal319/dds.cpp:150:10: note: Shadow variable deal319/dds.cpp:150:24: style: Local variable 'found' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:32: note: Shadowed declaration deal319/dds.cpp:150:24: note: Shadow variable deal319/dds.cpp:150:44: style: Local variable 'tricks' shadows outer variable [shadowVariable] deal319/dds.cpp:1157:5: note: Shadowed declaration deal319/dds.cpp:150:44: note: Shadow variable deal319/dds.cpp:152:13: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:152:13: note: Shadow variable deal319/dds.cpp:809:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:809:7: note: Shadow variable deal319/dds.cpp:910:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:910:7: note: Shadow variable deal319/dds.cpp:967:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:967:7: note: Shadow variable deal319/dds.cpp:968:16: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:968:16: note: Shadow variable deal319/dds.cpp:968:25: style: Local variable 'rank' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:29: note: Shadowed declaration deal319/dds.cpp:968:25: note: Shadow variable deal319/dds.cpp:1755:7: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:1755:7: note: Shadow variable deal319/dds.cpp:1935:18: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:1935:18: note: Shadow variable deal319/dds.cpp:2015:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:2015:7: note: Shadow variable deal319/dds.cpp:2042:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:2042:7: note: Shadow variable deal319/dds.cpp:2135:13: style: Local variable 'ranks' shadows outer variable [shadowVariable] deal319/dds.cpp:1168:11: note: Shadowed declaration deal319/dds.cpp:2135:13: note: Shadow variable deal319/dds.cpp:2136:7: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:2136:7: note: Shadow variable deal319/dds.cpp:2136:13: style: Local variable 'sum' shadows outer variable [shadowVariable] deal319/dds.h:436:12: note: Shadowed declaration deal319/dds.cpp:2136:13: note: Shadow variable deal319/dds.cpp:2136:18: style: Local variable 'qtricks' shadows outer variable [shadowVariable] deal319/dds.cpp:1148:15: note: Shadowed declaration deal319/dds.cpp:2136:18: note: Shadow variable deal319/dds.cpp:2136:65: style: Local variable 'found' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:32: note: Shadowed declaration deal319/dds.cpp:2136:65: note: Shadow variable deal319/dds.cpp:2139:15: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:2139:15: note: Shadow variable deal319/dds.cpp:2767:7: style: Local variable 'hh' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:5: note: Shadowed declaration deal319/dds.cpp:2767:7: note: Shadow variable deal319/dds.cpp:2767:11: style: Local variable 'ss' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:9: note: Shadowed declaration deal319/dds.cpp:2767:11: note: Shadow variable deal319/dds.cpp:2767:15: style: Local variable 'sum' shadows outer variable [shadowVariable] deal319/dds.h:436:12: note: Shadowed declaration deal319/dds.cpp:2767:15: note: Shadow variable deal319/dds.cpp:2845:7: style: Local variable 'hh' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:5: note: Shadowed declaration deal319/dds.cpp:2845:7: note: Shadow variable deal319/dds.cpp:2845:11: style: Local variable 'ss' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:9: note: Shadowed declaration deal319/dds.cpp:2845:11: note: Shadow variable deal319/dds.cpp:2845:15: style: Local variable 'sum' shadows outer variable [shadowVariable] deal319/dds.h:436:12: note: Shadowed declaration deal319/dds.cpp:2845:15: note: Shadow variable deal319/dds.cpp:2954:7: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:2954:7: note: Shadow variable deal319/dds.cpp:2954:13: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:2954:13: note: Shadow variable deal319/dds.cpp:2954:19: style: Local variable 'n' shadows outer variable [shadowVariable] deal319/dds.cpp:1157:13: note: Shadowed declaration deal319/dds.cpp:2954:19: note: Shadow variable deal319/dds.cpp:3094:13: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:3094:13: note: Shadow variable deal319/dds.cpp:3102:13: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:3102:13: note: Shadow variable deal319/dds.cpp:3640:19: style: Local variable 'a' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:29: note: Shadowed declaration deal319/dds.cpp:3640:19: note: Shadow variable deal319/dds.cpp:3700:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:3700:7: note: Shadow variable deal319/dds.cpp:3700:13: style: Local variable 'n' shadows outer variable [shadowVariable] deal319/dds.cpp:1157:13: note: Shadowed declaration deal319/dds.cpp:3700:13: note: Shadow variable deal319/dds.cpp:3700:16: style: Local variable 'rank' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:29: note: Shadowed declaration deal319/dds.cpp:3700:16: note: Shadow variable deal319/dds.cpp:3700:22: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:3700:22: note: Shadow variable deal319/dds.cpp:3804:26: style: Local variable 'sopP' shadows outer variable [shadowVariable] deal319/dds.cpp:1164:24: note: Shadowed declaration deal319/dds.cpp:3804:26: note: Shadow variable deal319/dds.cpp:3805:24: style: Local variable 'np' shadows outer variable [shadowVariable] deal319/dds.cpp:1162:22: note: Shadowed declaration deal319/dds.cpp:3805:24: note: Shadow variable deal319/dds.cpp:3876:7: style: Local variable 'found' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:32: note: Shadowed declaration deal319/dds.cpp:3876:7: note: Shadow variable deal319/dds.cpp:3876:14: style: Local variable 'suit' shadows outer variable [shadowVariable] deal319/dds.cpp:1159:23: note: Shadowed declaration deal319/dds.cpp:3876:14: note: Shadow variable deal319/dds.cpp:3877:24: style: Local variable 'np' shadows outer variable [shadowVariable] deal319/dds.cpp:1162:22: note: Shadowed declaration deal319/dds.cpp:3877:24: note: Shadow variable deal319/dds.cpp:3879:26: style: Local variable 'sopP' shadows outer variable [shadowVariable] deal319/dds.cpp:1164:24: note: Shadowed declaration deal319/dds.cpp:3879:26: note: Shadow variable deal319/dds.cpp:4032:25: style: Local variable 'np' shadows outer variable [shadowVariable] deal319/dds.cpp:1162:22: note: Shadowed declaration deal319/dds.cpp:4032:25: note: Shadow variable deal319/dds.cpp:4080:7: style: Local variable 'ss' shadows outer variable [shadowVariable] deal319/dds.cpp:1158:9: note: Shadowed declaration deal319/dds.cpp:4080:7: note: Shadow variable deal319/dds.cpp:4080:11: style: Local variable 'res' shadows outer variable [shadowVariable] deal319/dds.cpp:1149:5: note: Shadowed declaration deal319/dds.cpp:4080:11: note: Shadow variable deal319/dds.cpp:4083:26: style: Local variable 'np' shadows outer variable [shadowVariable] deal319/dds.cpp:1162:22: note: Shadowed declaration deal319/dds.cpp:4083:26: note: Shadow variable deal319/dds.cpp:4197:13: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:4197:13: note: Shadow variable deal319/dds.cpp:4197:16: style: Local variable 'found' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:32: note: Shadowed declaration deal319/dds.cpp:4197:16: note: Shadow variable deal319/dds.cpp:4256:7: style: Local variable 'mcurrent' shadows outer variable [shadowVariable] deal319/dds.cpp:1148:5: note: Shadowed declaration deal319/dds.cpp:4256:7: note: Shadow variable deal319/dds.cpp:4318:13: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:4318:13: note: Shadow variable deal319/dds.cpp:4348:7: style: Local variable 'k' shadows outer variable [shadowVariable] deal319/dds.cpp:1160:5: note: Shadowed declaration deal319/dds.cpp:4348:7: note: Shadow variable deal319/dds.cpp:1938:22: performance:inconclusive: Use const reference for 'contract' to avoid unnecessary data copying. [redundantCopyLocalConst] deal319/dds.cpp:4314:40: performance: Function parameter 'dl' should be passed by const reference. [passedByValue] deal319/dds.cpp:1178:26: style: Variable 'cardsP' can be declared as pointer to const [constVariablePointer] deal319/dds.cpp:3092:64: style: Parameter 'mp' can be declared as pointer to const [constParameterPointer] deal319/dds.cpp:3734:46: style: Parameter 'posPoint' can be declared as pointer to const [constParameterPointer] deal319/dds.cpp:3782:47: style: Parameter 'posPoint' can be declared as pointer to const [constParameterPointer] deal319/dds.cpp:158:25: style: Variable 'maxSuit' is assigned a value that is never used. [unreadVariable] deal319/dds.cpp:502:8: style: Variable 'ind' is assigned a value that is never used. [unreadVariable] deal319/dds.cpp:563:8: style: Variable 'ind' is assigned a value that is never used. [unreadVariable] deal319/dds.cpp:590:12: style: Variable 'mcurr' is assigned a value that is never used. [unreadVariable] deal319/dds.cpp:971:31: style: Variable 'contract' is assigned a value that is never used. [unreadVariable] diff: head deal319/stat.c:429:11: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] DONE