2024-04-21 03:02 ftp://ftp.de.debian.org/debian/pool/main/p/plink/plink_1.07+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 2115 1827 elapsed-time: 336.8 502.6 head-timing-info: old-timing-info: head results: plink-1.07-src/Rsrv.h:324:0: error: #error "Cannot determine endianness. Make sure config.h is included or __{BIG|LITTLE}_ENDIAN__ is defined ." [preprocessorErrorDirective] plink-1.07-src/plink.h:422:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/options.h:69:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/annot.cpp:109:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:130:3: warning:inconclusive: Member variable 'Range::chr' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:130:3: warning:inconclusive: Member variable 'Range::start' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:130:3: warning:inconclusive: Member variable 'Range::stop' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:130:3: warning:inconclusive: Member variable 'Range::group' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:131:3: warning: Member variable 'Range::group' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:297:3: warning: Member variable 'Family::B' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:319:12: warning:inconclusive: Member variable 'Family::parents' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:319:12: warning:inconclusive: Member variable 'Family::sibship' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:319:12: warning:inconclusive: Member variable 'Family::discordant_parents' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:319:12: warning:inconclusive: Member variable 'Family::singleton' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:319:12: warning:inconclusive: Member variable 'Family::TDT' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:319:12: warning: Member variable 'Family::B' is not assigned a value in 'Family::operator='. [operatorEqVarError] plink-1.07-src/plink.h:448:3: warning: Member variable 'Segment::weightedCount' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:448:3: warning: Member variable 'Segment::weightedBaseline' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::np' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::m_phenotype' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::v_phenotype' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::prev_bt' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E00' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E10' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E20' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E01' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E11' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E21' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E02' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E12' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::E22' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T00' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T01' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T02' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T10' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T11' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T12' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T20' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T21' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::T22' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::pv' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::dst' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::pvIBS0' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::pvIBS2het' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::diff_overlap' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::diff_nonmissing_overlap' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::diff_concordant_overlap' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::pperm' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::haplo' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::model' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::whap' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:517:3: warning: Member variable 'Plink::pS' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:136:7: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:162:22: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:182:17: performance: Variable 'mat' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:185:5: performance: Variable 'sexcode' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:344:20: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:344:29: performance: Variable 'allele1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:344:41: performance: Variable 'allele2' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:390:10: style:inconclusive: Technically the member function 'std::less < Locus * >::operator()' can be const. [functionConst] plink-1.07-src/plink.h:420:8: performance:inconclusive: Technically the member function 'MainExitException::exitMessage' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/helper.h:65:7: style:inconclusive: Technically the member function 'CArgs::count' can be const. [functionConst] plink-1.07-src/helper.h:68:8: style:inconclusive: Technically the member function 'CArgs::any' can be const. [functionConst] plink-1.07-src/annot.cpp:217:8: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/annot.cpp:188:8: note: First condition plink-1.07-src/annot.cpp:217:8: note: Second condition plink-1.07-src/options.h:45:22: style: The scope of the variable 'sv' can be reduced. [variableScope] plink-1.07-src/annot.cpp:257:14: style: The scope of the variable 'pvalue' can be reduced. [variableScope] plink-1.07-src/annot.cpp:122:8: style: Local variable 'filterRanges' shadows outer function [shadowFunction] plink-1.07-src/helper.h:221:26: note: Shadowed declaration plink-1.07-src/annot.cpp:122:8: note: Shadow variable plink-1.07-src/annot.cpp:123:8: style: Local variable 'filterSNPs' shadows outer function [shadowFunction] plink-1.07-src/plink.h:738:18: note: Shadowed declaration plink-1.07-src/annot.cpp:123:8: note: Shadow variable plink-1.07-src/annot.cpp:244:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/annot.cpp:140:18: note: Shadowed declaration plink-1.07-src/annot.cpp:244:22: note: Shadow variable plink-1.07-src/plink.h:131:40: performance: Function parameter 'p4' should be passed by const reference. [passedByValue] plink-1.07-src/annot.cpp:198:22: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/annot.cpp:208:26: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/plink.h:1042:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:199:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/assoc.cpp:845:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/assoc.cpp:1227:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/assoc.cpp:1741:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/assoc.cpp:2142:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/assoc.cpp:2297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::ns' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::nw' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::actual_nw' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::nh' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::nt' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::nsh' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::np' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::haploid_np' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::test_hap' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::cnt_f' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::current' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::startWindow' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::finishWindow' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::p1' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::p2' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::homozyg' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::result' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::pvalue' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::odds' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::case_freq' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::control_freq' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::calculateDp' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::validN' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::empiricalVariance' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::ratio' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/phase.h:190:3: warning: Member variable 'HaploPhase::transmissionTotal' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/plink.h:888:18: style:inconclusive: Technically the member function 'Plink::correlation2SNP' can be const. [functionConst] plink-1.07-src/assoc.cpp:2445:15: note: Technically the member function 'Plink::correlation2SNP' can be const. plink-1.07-src/plink.h:888:18: note: Technically the member function 'Plink::correlation2SNP' can be const. plink-1.07-src/perm.h:92:23: style:inconclusive: Technically the member function 'Perm::current_reps' can be const. [functionConst] plink-1.07-src/phase.h:287:7: style:inconclusive: Technically the member function 'HaploPhase::nHap' can be const. [functionConst] plink-1.07-src/phase.h:292:10: style:inconclusive: Technically the member function 'HaploPhase::testHaplotypeFreq' can be const. [functionConst] plink-1.07-src/sets.h:35:3: style: Class 'Set' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/perm.h:65:3: style: Class 'Perm' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/phase.h:190:3: style: Class 'HaploPhase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/assoc.cpp:2658:27: style: Same expression on both sides of '<'. [duplicateExpression] plink-1.07-src/assoc.cpp:2661:27: style: Same expression on both sides of '>'. [duplicateExpression] plink-1.07-src/assoc.cpp:381:15: style: The scope of the variable 'setsigsize' can be reduced. [variableScope] plink-1.07-src/assoc.cpp:2445:83: style:inconclusive: Function 'correlation2SNP' argument 5 names different: declaration 'useFlag' definition 'useflag'. [funcArgNamesDifferent] plink-1.07-src/plink.h:888:57: note: Function 'correlation2SNP' argument 5 names different: declaration 'useFlag' definition 'useflag'. plink-1.07-src/assoc.cpp:2445:83: note: Function 'correlation2SNP' argument 5 names different: declaration 'useFlag' definition 'useflag'. plink-1.07-src/assoc.cpp:89:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/assoc.cpp:89:18: note: Shadow variable plink-1.07-src/assoc.cpp:687:18: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/assoc.cpp:687:18: note: Shadow variable plink-1.07-src/assoc.cpp:874:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/assoc.cpp:874:18: note: Shadow variable plink-1.07-src/assoc.cpp:1756:11: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/assoc.cpp:1739:14: note: Shadowed declaration plink-1.07-src/assoc.cpp:1756:11: note: Shadow variable plink-1.07-src/phase.h:280:20: performance: Function parameter 'n' should be passed by const reference. [passedByValue] plink-1.07-src/assoc.cpp:831:12: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/assoc.cpp:1212:17: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/assoc.cpp:1727:13: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/assoc.cpp:2130:39: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/assoc.cpp:542:18: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:914:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:1294:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:1807:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:1857:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:2186:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/assoc.cpp:84:18: style: Variable 'r' is assigned a value that is never used. [unreadVariable] plink-1.07-src/assoc.cpp:106:18: style: Unused variable: missing [unusedVariable] plink-1.07-src/assoc.cpp:1536:16: style: Variable 'best' is assigned a value that is never used. [unreadVariable] plink-1.07-src/assoc.cpp:513:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:572:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:573:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:574:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:591:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:889:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:920:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:921:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:922:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1008:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1009:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1010:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1196:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1258:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1277:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1338:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1339:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1340:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1705:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1784:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1836:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1837:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1838:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1889:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1890:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1891:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:1968:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2042:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2043:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2044:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2166:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2215:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2216:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2217:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2246:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/assoc.cpp:2270:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/binput.cpp:53:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/binput.cpp:417:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/binput.cpp:293:9: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/binput.cpp:56:7: note: Shadowed declaration plink-1.07-src/binput.cpp:293:9: note: Shadow variable plink-1.07-src/binput.cpp:349:9: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/binput.cpp:56:7: note: Shadowed declaration plink-1.07-src/binput.cpp:349:9: note: Shadow variable plink-1.07-src/binput.cpp:414:35: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/binput.cpp:246:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/binput.cpp:366:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/blox.cpp:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/blox.cpp:622:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/blox.cpp:86:3: warning: Member variable 'PairwiseLinkage::dp' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/blox.cpp:86:3: warning: Member variable 'PairwiseLinkage::rsq' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/blox.cpp:86:3: warning: Member variable 'PairwiseLinkage::dp_upper' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/blox.cpp:86:3: warning: Member variable 'PairwiseLinkage::dp_lower' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/blox.cpp:86:3: warning: Member variable 'PairwiseLinkage::lod' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/blox.cpp:233:8: style: Local variable 'numStrong' shadows outer variable [shadowVariable] plink-1.07-src/blox.cpp:156:11: note: Shadowed declaration plink-1.07-src/blox.cpp:233:8: note: Shadow variable plink-1.07-src/blox.cpp:234:8: style: Local variable 'numRec' shadows outer variable [shadowVariable] plink-1.07-src/blox.cpp:157:11: note: Shadowed declaration plink-1.07-src/blox.cpp:234:8: note: Shadow variable plink-1.07-src/blox.cpp:235:8: style: Local variable 'numInGroup' shadows outer variable [shadowVariable] plink-1.07-src/blox.cpp:158:11: note: Shadowed declaration plink-1.07-src/blox.cpp:235:8: note: Shadow variable plink-1.07-src/blox.cpp:53:55: style: Parameter 'v' can be declared as reference to const [constParameterReference] plink-1.07-src/blox.cpp:417:21: style: Variable 'b' can be declared as reference to const [constVariableReference] plink-1.07-src/blox.cpp:503:15: warning: Uninitialized variable: pA1 [uninitvar] plink-1.07-src/blox.cpp:492:40: note: Assuming condition is false plink-1.07-src/blox.cpp:503:15: note: Uninitialized variable: pA1 plink-1.07-src/blox.cpp:503:21: warning: Uninitialized variable: pA2 [uninitvar] plink-1.07-src/blox.cpp:492:40: note: Assuming condition is true plink-1.07-src/blox.cpp:503:21: note: Uninitialized variable: pA2 plink-1.07-src/blox.cpp:505:21: warning: Uninitialized variable: pB1 [uninitvar] plink-1.07-src/blox.cpp:492:40: note: Assuming condition is true plink-1.07-src/blox.cpp:505:21: note: Uninitialized variable: pB1 plink-1.07-src/blox.cpp:95:14: style: class member 'PairwiseLinkage::rsq' is never used. [unusedStructMember] plink-1.07-src/blox.cpp:123:16: style: Variable 'fourGameteCutoff' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:147:11: style: Variable 'nsnps' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:156:11: style: Variable 'numStrong' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:157:11: style: Variable 'numRec' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:158:11: style: Variable 'numInGroup' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:224:28: style: Unused variable: blockArray [unusedVariable] plink-1.07-src/blox.cpp:226:11: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] plink-1.07-src/blox.cpp:469:20: style: Variable 'total_chroms' is assigned a value that is never used. [unreadVariable] plink-1.07-src/bmerge.cpp:79:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/bmerge.cpp:599:11: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/bmerge.cpp:564:11: note: First condition plink-1.07-src/bmerge.cpp:599:11: note: Second condition plink-1.07-src/bmerge.cpp:67:19: style: The scope of the variable 'misstrand_dummy' can be reduced. [variableScope] plink-1.07-src/bmerge.cpp:321:29: style: Local variable 'ilocus' shadows outer variable [shadowVariable] plink-1.07-src/bmerge.cpp:61:29: note: Shadowed declaration plink-1.07-src/bmerge.cpp:321:29: note: Shadow variable plink-1.07-src/bmerge.cpp:506:14: style: Local variable 'phenotype' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:621:18: note: Shadowed declaration plink-1.07-src/bmerge.cpp:506:14: note: Shadow variable plink-1.07-src/bmerge.cpp:680:31: style: Local variable 'isample' shadows outer variable [shadowVariable] plink-1.07-src/bmerge.cpp:431:29: note: Shadowed declaration plink-1.07-src/bmerge.cpp:680:31: note: Shadow variable plink-1.07-src/bmerge.cpp:728:12: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/bmerge.cpp:84:7: note: Shadowed declaration plink-1.07-src/bmerge.cpp:728:12: note: Shadow variable plink-1.07-src/bmerge.cpp:549:18: warning: Either the condition 'isample!=msample.end()' is redundant or there is possible dereference of an invalid iterator: isample. [derefInvalidIteratorRedundantCheck] plink-1.07-src/bmerge.cpp:550:20: note: Assuming that condition 'isample!=msample.end()' is not redundant plink-1.07-src/bmerge.cpp:549:18: note: Dereference of an invalid iterator plink-1.07-src/bmerge.cpp:687:21: warning: Uninitialized variable: indn [uninitvar] plink-1.07-src/bmerge.cpp:683:18: note: Assuming condition is false plink-1.07-src/bmerge.cpp:687:21: note: Uninitialized variable: indn plink-1.07-src/bmerge.cpp:100:11: style: Variable 'inc' is assigned a value that is never used. [unreadVariable] plink-1.07-src/bmerge.cpp:549:16: style: Variable 'indn' is assigned a value that is never used. [unreadVariable] plink-1.07-src/bmerge.cpp:612:13: style: Variable 'indn' is assigned a value that is never used. [unreadVariable] plink-1.07-src/bmerge.cpp:761:23: style: Variable 'fatal_error' is assigned a value that is never used. [unreadVariable] plink-1.07-src/bmerge.cpp:323:70: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/bmerge.cpp:609:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/bmerge.cpp:764:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/cfamily.cpp:185:43: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] plink-1.07-src/cfamily.cpp:248:50: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] plink-1.07-src/clumpld.cpp:96:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/clumpld.cpp:266:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/clumpld.cpp:856:8: style: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. [duplicateAssignExpression] plink-1.07-src/clumpld.cpp:857:8: note: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. plink-1.07-src/clumpld.cpp:856:8: note: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. plink-1.07-src/clumpld.cpp:883:53: style: Same expression on both sides of '-'. [duplicateExpression] plink-1.07-src/clumpld.cpp:1110:12: style: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. [duplicateAssignExpression] plink-1.07-src/clumpld.cpp:1111:12: note: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. plink-1.07-src/clumpld.cpp:1110:12: note: Same expression used in consecutive assignments of 'minBP' and 'maxBP'. plink-1.07-src/clumpld.cpp:261:7: style: The scope of the variable 'zero' can be reduced. [variableScope] plink-1.07-src/clumpld.cpp:261:13: style: The scope of the variable 'one' can be reduced. [variableScope] plink-1.07-src/clumpld.cpp:261:18: style: The scope of the variable 'two' can be reduced. [variableScope] plink-1.07-src/clumpld.cpp:261:23: style: The scope of the variable 'three' can be reduced. [variableScope] plink-1.07-src/clumpld.cpp:261:30: style: The scope of the variable 'four' can be reduced. [variableScope] plink-1.07-src/clumpld.cpp:122:14: style: Local variable 'buf' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:85:10: note: Shadowed declaration plink-1.07-src/clumpld.cpp:122:14: note: Shadow variable plink-1.07-src/clumpld.cpp:123:20: style: Local variable 'ss' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:86:16: note: Shadowed declaration plink-1.07-src/clumpld.cpp:123:20: note: Shadow variable plink-1.07-src/clumpld.cpp:116:13: style: Local variable 'buf' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:85:10: note: Shadowed declaration plink-1.07-src/clumpld.cpp:116:13: note: Shadow variable plink-1.07-src/clumpld.cpp:117:17: style: Local variable 'ss' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:86:16: note: Shadowed declaration plink-1.07-src/clumpld.cpp:117:17: note: Shadow variable plink-1.07-src/clumpld.cpp:137:16: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:92:12: note: Shadowed declaration plink-1.07-src/clumpld.cpp:137:16: note: Shadow variable plink-1.07-src/clumpld.cpp:160:9: style: Local variable 'cline' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:104:12: note: Shadowed declaration plink-1.07-src/clumpld.cpp:160:9: note: Shadow variable plink-1.07-src/clumpld.cpp:163:11: style: Local variable 'sline' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:107:14: note: Shadowed declaration plink-1.07-src/clumpld.cpp:163:11: note: Shadow variable plink-1.07-src/clumpld.cpp:167:11: style: Local variable 'buf' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:122:14: note: Shadowed declaration plink-1.07-src/clumpld.cpp:167:11: note: Shadow variable plink-1.07-src/clumpld.cpp:168:17: style: Local variable 'ss' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:123:20: note: Shadowed declaration plink-1.07-src/clumpld.cpp:168:17: note: Shadow variable plink-1.07-src/clumpld.cpp:169:19: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:124:22: note: Shadowed declaration plink-1.07-src/clumpld.cpp:169:19: note: Shadow variable plink-1.07-src/clumpld.cpp:201:17: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:92:12: note: Shadowed declaration plink-1.07-src/clumpld.cpp:201:17: note: Shadow variable plink-1.07-src/clumpld.cpp:783:18: style: Local variable 'cp' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:731:17: note: Shadowed declaration plink-1.07-src/clumpld.cpp:783:18: note: Shadow variable plink-1.07-src/clumpld.cpp:909:31: style: Local variable 'si' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:703:29: note: Shadowed declaration plink-1.07-src/clumpld.cpp:909:31: note: Shadow variable plink-1.07-src/clumpld.cpp:927:15: style: Local variable 'cp' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:731:17: note: Shadowed declaration plink-1.07-src/clumpld.cpp:927:15: note: Shadow variable plink-1.07-src/clumpld.cpp:971:27: style: Local variable 'si' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:703:29: note: Shadowed declaration plink-1.07-src/clumpld.cpp:971:27: note: Shadow variable plink-1.07-src/clumpld.cpp:1113:35: style: Local variable 'gi' shadows outer variable [shadowVariable] plink-1.07-src/clumpld.cpp:1091:31: note: Shadowed declaration plink-1.07-src/clumpld.cpp:1113:35: note: Shadow variable plink-1.07-src/clumpld.cpp:1130:9: style: Variable 'glist' is assigned a value that is never used. [unreadVariable] plink-1.07-src/clumpld.cpp:998:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/clumpld.cpp:1100:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/cluster.cpp:181:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/cluster.cpp:1552:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/cluster.cpp:1677:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/cluster.cpp:498:22: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/cluster.cpp:498:22: note: Shadow variable plink-1.07-src/cluster.cpp:643:23: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/cluster.cpp:615:19: note: Shadowed declaration plink-1.07-src/cluster.cpp:643:23: note: Shadow variable plink-1.07-src/cluster.cpp:1372:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/cluster.cpp:1372:18: note: Shadow variable plink-1.07-src/cluster.cpp:1656:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/cluster.cpp:1632:18: note: Shadowed declaration plink-1.07-src/cluster.cpp:1656:22: note: Shadow variable plink-1.07-src/cluster.cpp:1195:41: style: Parameter 'd' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1196:22: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1197:22: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1221:47: style: Parameter 'd' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1222:21: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1223:21: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1248:35: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1248:52: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1248:69: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1265:28: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1265:45: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1265:62: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1288:47: style: Parameter 'pairable' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1288:71: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1288:88: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/cluster.cpp:1760:15: style: Variable 's1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cluster.cpp:1761:15: style: Variable 's2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cluster.cpp:390:8: style: Variable 'IBSg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:181:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/cnv.cpp:1956:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/cnv.cpp:2296:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/cnv.h:20:3: warning: Member variable 'CNVIndivReport::t9' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/cnv.h:20:3: warning: Member variable 'CNVIndivReport::t10' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/cnv.h:20:3: warning: Member variable 'CNVIndivReport::t11' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/cnv.h:20:3: warning: Member variable 'CNVIndivReport::t12' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/model.h:59:8: style:inconclusive: Technically the member function 'Model::isValid' can be const. [functionConst] plink-1.07-src/model.h:63:7: style:inconclusive: Technically the member function 'Model::Ysize' can be const. [functionConst] plink-1.07-src/model.h:64:7: style:inconclusive: Technically the member function 'Model::getNP' can be const. [functionConst] plink-1.07-src/cnv.cpp:1151:21: style: C-style pointer casting [cstyleCast] plink-1.07-src/cnv.cpp:1152:21: style: C-style pointer casting [cstyleCast] plink-1.07-src/cnv.cpp:2023:20: style: C-style pointer casting [cstyleCast] plink-1.07-src/cnv.cpp:2073:12: style: The scope of the variable 'results' can be reduced. [variableScope] plink-1.07-src/cnv.cpp:2208:11: style: The scope of the variable 'countCNV' can be reduced. [variableScope] plink-1.07-src/cnv.cpp:2209:11: style: The scope of the variable 'totalKB' can be reduced. [variableScope] plink-1.07-src/cnv.cpp:244:11: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/cnv.cpp:244:11: note: Shadow variable plink-1.07-src/cnv.cpp:245:11: style: Local variable 'm2' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:607:15: note: Shadowed declaration plink-1.07-src/cnv.cpp:245:11: note: Shadow variable plink-1.07-src/cnv.cpp:329:15: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/cnv.cpp:329:15: note: Shadow variable plink-1.07-src/cnv.cpp:330:15: style: Local variable 'm2' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:607:15: note: Shadowed declaration plink-1.07-src/cnv.cpp:330:15: note: Shadow variable plink-1.07-src/cnv.cpp:552:9: style: Local variable 'p' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:546:12: note: Shadowed declaration plink-1.07-src/cnv.cpp:552:9: note: Shadow variable plink-1.07-src/cnv.cpp:1296:17: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:1197:29: note: Shadowed declaration plink-1.07-src/cnv.cpp:1296:17: note: Shadow variable plink-1.07-src/cnv.cpp:1343:33: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:1197:29: note: Shadowed declaration plink-1.07-src/cnv.cpp:1343:33: note: Shadow variable plink-1.07-src/cnv.cpp:1409:16: style: Local variable 'MOUT' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:381:12: note: Shadowed declaration plink-1.07-src/cnv.cpp:1409:16: note: Shadow variable plink-1.07-src/cnv.cpp:1414:11: style: Local variable 'nseg' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:412:7: note: Shadowed declaration plink-1.07-src/cnv.cpp:1414:11: note: Shadow variable plink-1.07-src/cnv.cpp:2265:12: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/cnv.cpp:2265:12: note: Shadow variable plink-1.07-src/cnv.cpp:2333:9: style: Local variable 'valid' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:2280:8: note: Shadowed declaration plink-1.07-src/cnv.cpp:2333:9: note: Shadow variable plink-1.07-src/cnv.cpp:2335:13: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/cnv.cpp:2282:12: note: Shadowed declaration plink-1.07-src/cnv.cpp:2335:13: note: Shadow variable plink-1.07-src/cnv.cpp:2098:13: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] plink-1.07-src/cnv.cpp:52:45: style: Parameter 'isection' can be declared as reference to const [constParameterReference] plink-1.07-src/cnv.cpp:1543:29: style: Parameter 'isection' can be declared as reference to const [constParameterReference] plink-1.07-src/cnv.cpp:1664:34: style: Parameter 'isection' can be declared as reference to const [constParameterReference] plink-1.07-src/cnv.cpp:1740:46: style: Parameter 'isection' can be declared as reference to const [constParameterReference] plink-1.07-src/cnv.cpp:52:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] plink-1.07-src/cnv.cpp:720:22: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:721:17: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:722:17: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:1347:17: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:1348:12: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:1349:12: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:1378:17: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/cnv.cpp:2202:21: warning: Either the condition 'ic!=segmentCount.end()' is redundant or there is possible dereference of an invalid iterator: ic. [derefInvalidIteratorRedundantCheck] plink-1.07-src/cnv.cpp:2205:15: note: Assuming that condition 'ic!=segmentCount.end()' is not redundant plink-1.07-src/cnv.cpp:2202:21: note: Dereference of an invalid iterator plink-1.07-src/cnv.cpp:1414:16: style: Variable 'nseg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:1749:7: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:2202:19: style: Variable 'p' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:2288:20: style: Variable 'statistic' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:2289:17: style: Variable 'pvalue' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:2290:15: style: Variable 'beta' is assigned a value that is never used. [unreadVariable] plink-1.07-src/cnv.cpp:895:3: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/cnv.cpp:1830:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/cnvqt.cpp:146:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/cnvqt.cpp:111:12: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/cnvqt.cpp:111:12: note: Shadow variable plink-1.07-src/cnvqt.cpp:130:12: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/cnvqt.cpp:130:12: note: Shadow variable plink-1.07-src/dcdflib.cpp:19:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.129418923021993e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:365:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:5891:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.914041914819518e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:6491:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.129418923021993e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:6691:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7436:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.273076135303957e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7864:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7911:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.577215664901533e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7972:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.820756370353826e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:8236:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.185185185185185e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:8673:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.895385022981970e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:8881:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.914041914819518e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:8911:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:8961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:9201:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] plink-1.07-src/dcdflib.cpp:7631:21: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] plink-1.07-src/dcdflib.cpp:7716:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] plink-1.07-src/dcdflib.cpp:7717:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] plink-1.07-src/dcdflib.cpp:7718:20: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] plink-1.07-src/dcdflib.cpp:1828:21: warning: Logical conjunction always evaluates to false: *(which) < 1 && *(which) > 4. [incorrectLogicOperator] plink-1.07-src/dcdflib.cpp:1828:8: style: Condition '!(*which<1&&*which>4)' is always true [knownConditionTrueFalse] plink-1.07-src/dcdflib.cpp:1828:17: note: Assuming that condition '*which<1' is not redundant plink-1.07-src/dcdflib.cpp:1828:8: note: Condition '!(*which<1&&*which>4)' is always true plink-1.07-src/dcdflib.cpp:5639:17: style: Variable '*result' is reassigned a value before the old one has been used. [redundantAssignment] plink-1.07-src/dcdflib.cpp:5631:17: note: *result is assigned plink-1.07-src/dcdflib.cpp:5639:17: note: *result is overwritten plink-1.07-src/dcdflib.cpp:5541:15: style: The scope of the variable 'b' can be reduced. [variableScope] plink-1.07-src/dcdflib.cpp:5550:15: style: The scope of the variable 'd' can be reduced. [variableScope] plink-1.07-src/dcdflib.cpp:5561:15: style: The scope of the variable 'q' can be reduced. [variableScope] plink-1.07-src/dcdflib.cpp:5566:15: style: The scope of the variable 'sqrpi' can be reduced. [variableScope] plink-1.07-src/dcdflib.cpp:577:22: style:inconclusive: Function 'bgrat' argument 7 names different: declaration 'i' definition 'ierr'. [funcArgNamesDifferent] plink-1.07-src/cdflib.h:13:64: note: Function 'bgrat' argument 7 names different: declaration 'i' definition 'ierr'. plink-1.07-src/dcdflib.cpp:577:22: note: Function 'bgrat' argument 7 names different: declaration 'i' definition 'ierr'. plink-1.07-src/dcdflib.cpp:2963:37: style:inconclusive: Function 'cdffnc' argument 8 names different: declaration 's' definition 'status'. [funcArgNamesDifferent] plink-1.07-src/cdflib.h:27:17: note: Function 'cdffnc' argument 8 names different: declaration 's' definition 'status'. plink-1.07-src/dcdflib.cpp:2963:37: note: Function 'cdffnc' argument 8 names different: declaration 's' definition 'status'. plink-1.07-src/dcdflib.cpp:17:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:17:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:70:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:182:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:211:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:211:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:211:52: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:246:42: style: Parameter 'lambda' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:246:57: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:354:22: style: Parameter 'a0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:354:33: style: Parameter 'b0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:403:23: style: Parameter 'a0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:403:34: style: Parameter 'b0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:509:62: style: Parameter 'lambda' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:510:15: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:576:40: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:576:50: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:658:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:658:52: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:756:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:756:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:756:41: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:756:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:993:51: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:993:61: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1131:43: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1131:53: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1269:57: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1269:67: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1346:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:1720:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:2089:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:2373:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:2646:16: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:2962:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:3286:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:3584:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:3955:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4159:18: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4415:16: style: Parameter 'which' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4742:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4742:31: style: Parameter 'xn' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4808:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4808:31: style: Parameter 'df' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:4858:42: style: Parameter 'pnonc' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5071:19: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5071:29: style: Parameter 'dfn' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5071:41: style: Parameter 'dfd' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5155:55: style: Parameter 'pnonc' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5384:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5449:21: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5537:15: style: Variable 'a' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5541:15: style: Variable 'b' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5545:15: style: Variable 'c' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5550:15: style: Variable 'd' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5556:15: style: Variable 'p' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5561:15: style: Variable 'q' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:5660:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5660:31: style: Parameter 'xlam' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5711:19: style: Parameter 't' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5711:29: style: Parameter 'df' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5773:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5773:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5823:22: style: Parameter 'a' can be declared as const array [constParameter] plink-1.07-src/dcdflib.cpp:5823:31: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5823:41: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5864:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5914:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:5914:33: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6012:53: style: Parameter 'zabsst' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6013:13: style: Parameter 'zabsto' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6013:28: style: Parameter 'zbig' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6013:41: style: Parameter 'zrelst' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6014:13: style: Parameter 'zrelto' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6014:28: style: Parameter 'zsmall' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6014:43: style: Parameter 'zstpmu' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6352:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6411:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6453:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6513:23: style: Parameter 'a0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6513:34: style: Parameter 'b0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6795:40: style: Parameter 'df' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6832:15: style: Variable 'denom' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:6863:60: style: Parameter 'fx' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6865:32: style: Parameter 'zabstl' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6865:47: style: Parameter 'zreltl' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6866:13: style: Parameter 'zxhi' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:6866:26: style: Parameter 'zxlo' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7136:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7144:15: style: Variable 'a' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7148:15: style: Variable 'b' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7151:15: style: Variable 'p' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7156:15: style: Variable 'q' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7161:15: style: Variable 'r' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7165:15: style: Variable 's' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7204:19: style: Parameter 'ind' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7204:31: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7215:15: style: Variable 'a' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7219:15: style: Variable 'b' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7222:15: style: Variable 'p' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7227:15: style: Variable 'q' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7232:15: style: Variable 'r' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7236:15: style: Variable 's' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7310:18: style: Parameter 'mu' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7310:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7339:20: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7385:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7385:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7385:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7385:52: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7429:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7438:15: style: Variable 'p' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7443:15: style: Variable 'q' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7447:15: style: Variable 'r' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7489:41: style: Parameter 'x0' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7489:52: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7489:62: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7556:15: style: Variable 'amin' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7559:15: style: Variable 'bmin' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7562:15: style: Variable 'dmin' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7565:15: style: Variable 'emin' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7568:15: style: Variable 'eps0' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7904:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7952:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:7977:15: style: Variable 'p' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:7981:15: style: Variable 'q' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8101:30: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8101:40: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8102:13: style: Parameter 'eps' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8204:31: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8204:63: style: Parameter 'ind' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8246:15: style: Variable 'acc0' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8249:15: style: Variable 'big' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8252:15: style: Variable 'd0' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8259:15: style: Variable 'd1' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8265:15: style: Variable 'd2' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8271:15: style: Variable 'd3' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8276:15: style: Variable 'd4' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8280:15: style: Variable 'd5' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8284:15: style: Variable 'd6' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8287:15: style: Variable 'e00' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8290:15: style: Variable 'x00' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8621:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8621:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8648:20: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8672:15: style: Variable 'p1' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8677:15: style: Variable 'p2' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8681:15: style: Variable 'q1' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8685:15: style: Variable 'q2' can be declared as const array [constVariable] plink-1.07-src/dcdflib.cpp:8841:32: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8874:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8904:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:8954:22: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:9004:20: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:9070:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dcdflib.cpp:9198:20: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] plink-1.07-src/dfam.cpp:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/dfam.cpp:32:13: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/dfam.cpp:33:21: style: Parameter 'flipA' can be declared as reference to const [constParameterReference] plink-1.07-src/dfam.cpp:34:21: style: Parameter 'flipP' can be declared as reference to const [constParameterReference] plink-1.07-src/dfam.cpp:108:16: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/dfam.cpp:216:13: style: Variable 'fam' can be declared as pointer to const [constVariablePointer] plink-1.07-src/dfam.cpp:151:11: style: Variable 'totalInformative' is assigned a value that is never used. [unreadVariable] plink-1.07-src/dfam.cpp:218:9: style: Variable 'informative' is assigned a value that is never used. [unreadVariable] plink-1.07-src/dosage.cpp:93:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/dosage.cpp:1346:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/logistic.h:27:3: style: Class 'LogisticModel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/linear.h:27:3: style: Class 'LinearModel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/logistic.h:28:4: style: The destructor '~LogisticModel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:27:12: note: Virtual destructor in base class plink-1.07-src/logistic.h:28:4: note: Destructor in derived class plink-1.07-src/logistic.h:30:8: style: The function 'setDependent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:29:16: note: Virtual function in base class plink-1.07-src/logistic.h:30:8: note: Function in derived class plink-1.07-src/logistic.h:32:8: style: The function 'fitLM' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:31:16: note: Virtual function in base class plink-1.07-src/logistic.h:32:8: note: Function in derived class plink-1.07-src/logistic.h:33:8: style: The function 'fitUnivariateLM' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:37:16: note: Virtual function in base class plink-1.07-src/logistic.h:33:8: note: Function in derived class plink-1.07-src/logistic.h:35:8: style: The function 'pruneY' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:30:16: note: Virtual function in base class plink-1.07-src/logistic.h:35:8: note: Function in derived class plink-1.07-src/logistic.h:36:12: style: The function 'getCoefs' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:32:20: note: Virtual function in base class plink-1.07-src/logistic.h:36:12: note: Function in derived class plink-1.07-src/logistic.h:37:12: style: The function 'getVar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:33:20: note: Virtual function in base class plink-1.07-src/logistic.h:37:12: note: Function in derived class plink-1.07-src/logistic.h:38:12: style: The function 'getSE' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:34:20: note: Virtual function in base class plink-1.07-src/logistic.h:38:12: note: Function in derived class plink-1.07-src/logistic.h:39:8: style: The function 'displayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:36:16: note: Virtual function in base class plink-1.07-src/logistic.h:39:8: note: Function in derived class plink-1.07-src/logistic.h:41:12: style: The function 'getPVals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:35:20: note: Virtual function in base class plink-1.07-src/logistic.h:41:12: note: Function in derived class plink-1.07-src/logistic.h:43:8: style: The function 'HuberWhite' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:73:16: note: Virtual function in base class plink-1.07-src/logistic.h:43:8: note: Function in derived class plink-1.07-src/linear.h:28:4: style: The destructor '~LinearModel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:27:12: note: Virtual destructor in base class plink-1.07-src/linear.h:28:4: note: Destructor in derived class plink-1.07-src/linear.h:30:8: style: The function 'setDependent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:29:16: note: Virtual function in base class plink-1.07-src/linear.h:30:8: note: Function in derived class plink-1.07-src/linear.h:32:8: style: The function 'fitLM' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:31:16: note: Virtual function in base class plink-1.07-src/linear.h:32:8: note: Function in derived class plink-1.07-src/linear.h:33:8: style: The function 'fitUnivariateLM' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:37:16: note: Virtual function in base class plink-1.07-src/linear.h:33:8: note: Function in derived class plink-1.07-src/linear.h:34:8: style: The function 'pruneY' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:30:16: note: Virtual function in base class plink-1.07-src/linear.h:34:8: note: Function in derived class plink-1.07-src/linear.h:38:12: style: The function 'getCoefs' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:32:20: note: Virtual function in base class plink-1.07-src/linear.h:38:12: note: Function in derived class plink-1.07-src/linear.h:39:12: style: The function 'getVar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:33:20: note: Virtual function in base class plink-1.07-src/linear.h:39:12: note: Function in derived class plink-1.07-src/linear.h:40:12: style: The function 'getSE' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:34:20: note: Virtual function in base class plink-1.07-src/linear.h:40:12: note: Function in derived class plink-1.07-src/linear.h:41:12: style: The function 'getPVals' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:35:20: note: Virtual function in base class plink-1.07-src/linear.h:41:12: note: Function in derived class plink-1.07-src/linear.h:43:8: style: The function 'HuberWhite' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:73:16: note: Virtual function in base class plink-1.07-src/linear.h:43:8: note: Function in derived class plink-1.07-src/linear.h:45:8: style: The function 'displayResults' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:36:16: note: Virtual function in base class plink-1.07-src/linear.h:45:8: note: Function in derived class plink-1.07-src/dosage.cpp:70:18: style: The scope of the variable 'qlabel' can be reduced. [variableScope] plink-1.07-src/dosage.cpp:828:26: style: The scope of the variable 'd3' can be reduced. [variableScope] plink-1.07-src/dosage.cpp:1171:11: style: The scope of the variable 'pvalue' can be reduced. [variableScope] plink-1.07-src/dosage.cpp:1174:11: style: The scope of the variable 'se' can be reduced. [variableScope] plink-1.07-src/dosage.cpp:991:18: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/dosage.cpp:965:34: note: Shadowed declaration plink-1.07-src/dosage.cpp:991:18: note: Shadow variable plink-1.07-src/dosage.cpp:999:14: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/dosage.cpp:965:34: note: Shadowed declaration plink-1.07-src/dosage.cpp:999:14: note: Shadow variable plink-1.07-src/dosage.cpp:1066:24: style: Local variable 's2' shadows outer variable [shadowVariable] plink-1.07-src/dosage.cpp:1046:27: note: Shadowed declaration plink-1.07-src/dosage.cpp:1066:24: note: Shadow variable plink-1.07-src/dosage.cpp:988:19: style: Variable 'inQ' can be declared as reference to const [constVariableReference] plink-1.07-src/dosage.cpp:697:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/dosage.cpp:1298:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/dosage.cpp:1170:21: style: Variable 'statistic' is assigned a value that is never used. [unreadVariable] plink-1.07-src/elf.cpp:290:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/elf.cpp:577:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/elf.cpp:664:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/elf.cpp:949:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/elf.cpp:1088:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/elf.cpp:32:3: warning: Member variable 'RCount::acnt' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/elf.cpp:32:3: warning: Member variable 'RCount::ucnt' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/elf.cpp:32:3: warning: Member variable 'RCount::acnt2' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/elf.cpp:32:3: warning: Member variable 'RCount::ucnt2' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/elf.cpp:76:8: style:inconclusive: Technically the member function 'RCount::ignorePosition' can be const. [functionConst] plink-1.07-src/elf.cpp:79:14: note: Technically the member function 'RCount::ignorePosition' can be const. plink-1.07-src/elf.cpp:76:8: note: Technically the member function 'RCount::ignorePosition' can be const. plink-1.07-src/elf.cpp:143:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/elf.cpp:107:31: note: Shadowed declaration plink-1.07-src/elf.cpp:143:16: note: Shadow variable plink-1.07-src/elf.cpp:153:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/elf.cpp:107:31: note: Shadowed declaration plink-1.07-src/elf.cpp:153:16: note: Shadow variable plink-1.07-src/elf.cpp:164:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/elf.cpp:107:31: note: Shadowed declaration plink-1.07-src/elf.cpp:164:16: note: Shadow variable plink-1.07-src/elf.cpp:190:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/elf.cpp:107:31: note: Shadowed declaration plink-1.07-src/elf.cpp:190:16: note: Shadow variable plink-1.07-src/elf.cpp:548:12: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/elf.cpp:548:12: note: Shadow variable plink-1.07-src/elf.cpp:934:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/elf.cpp:893:18: note: Shadowed declaration plink-1.07-src/elf.cpp:934:22: note: Shadow variable plink-1.07-src/elf.cpp:470:49: style: Parameter 'rc' can be declared as reference to const [constParameterReference] plink-1.07-src/elf.cpp:123:15: style: Variable 'g0' is assigned a value that is never used. [unreadVariable] plink-1.07-src/elf.cpp:653:12: style: Unused variable: SUM [unusedVariable] plink-1.07-src/elf.cpp:654:16: style: Variable 'pthresh' is assigned a value that is never used. [unreadVariable] plink-1.07-src/elf.cpp:655:8: style: Variable 'one_sided' is assigned a value that is never used. [unreadVariable] plink-1.07-src/elf.cpp:707:7: style: Variable 'srange_cnt' is assigned a value that is never used. [unreadVariable] plink-1.07-src/elf.cpp:708:8: style: Variable 'inRange' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genogroup.h:44:10: style:inconclusive: Technically the member function 'std::less < MultiLocusGenotype * >::operator()' can be const. [functionConst] plink-1.07-src/em.cpp:46:14: style: Variable 'ac' is assigned a value that is never used. [unreadVariable] plink-1.07-src/epi.cpp:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/epi.cpp:397:27: style: The scope of the variable 'or_unf' can be reduced. [variableScope] plink-1.07-src/epi.cpp:397:35: style: The scope of the variable 'v_unf' can be reduced. [variableScope] plink-1.07-src/epi.cpp:146:28: warning: Either the condition 'snpset.size()==0' is redundant or expression 'snpset[0]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/epi.cpp:143:24: note: Assuming that condition 'snpset.size()==0' is not redundant plink-1.07-src/epi.cpp:146:28: note: Access out of bounds plink-1.07-src/epi.cpp:195:14: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] plink-1.07-src/epi.cpp:701:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] plink-1.07-src/epi.cpp:438:12: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] plink-1.07-src/epi.cpp:194:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:283:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:284:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:285:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:286:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:287:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:386:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:387:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:388:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:389:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/epi.cpp:390:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:197:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/filters.cpp:97:21: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:71:33: note: Shadowed declaration plink-1.07-src/filters.cpp:97:21: note: Shadow variable plink-1.07-src/filters.cpp:284:16: style: Local variable 'loc' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:232:32: note: Shadowed declaration plink-1.07-src/filters.cpp:284:16: note: Shadow variable plink-1.07-src/filters.cpp:361:37: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:71:33: note: Shadowed declaration plink-1.07-src/filters.cpp:361:37: note: Shadow variable plink-1.07-src/filters.cpp:551:27: style: Local variable 'i1' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:359:30: note: Shadowed declaration plink-1.07-src/filters.cpp:551:27: note: Shadow variable plink-1.07-src/filters.cpp:552:34: style: Local variable 'i2' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:360:30: note: Shadowed declaration plink-1.07-src/filters.cpp:552:34: note: Shadow variable plink-1.07-src/filters.cpp:658:29: style: Local variable 'loc' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:322:28: note: Shadowed declaration plink-1.07-src/filters.cpp:658:29: note: Shadow variable plink-1.07-src/filters.cpp:736:30: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:321:26: note: Shadowed declaration plink-1.07-src/filters.cpp:736:30: note: Shadow variable plink-1.07-src/filters.cpp:737:32: style: Local variable 'loc' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:322:28: note: Shadowed declaration plink-1.07-src/filters.cpp:737:32: note: Shadow variable plink-1.07-src/filters.cpp:739:17: style: Local variable 'l' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:324:7: note: Shadowed declaration plink-1.07-src/filters.cpp:739:17: note: Shadow variable plink-1.07-src/filters.cpp:765:21: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:71:33: note: Shadowed declaration plink-1.07-src/filters.cpp:765:21: note: Shadow variable plink-1.07-src/filters.cpp:1078:17: style: Local variable 'l' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:324:7: note: Shadowed declaration plink-1.07-src/filters.cpp:1078:17: note: Shadow variable plink-1.07-src/filters.cpp:1091:17: style: Local variable 'l' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:324:7: note: Shadowed declaration plink-1.07-src/filters.cpp:1091:17: note: Shadow variable plink-1.07-src/filters.cpp:1143:16: style: Local variable 'l' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:324:7: note: Shadowed declaration plink-1.07-src/filters.cpp:1143:16: note: Shadow variable plink-1.07-src/filters.cpp:1146:12: style: Local variable 'loc' shadows outer variable [shadowVariable] plink-1.07-src/filters.cpp:322:28: note: Shadowed declaration plink-1.07-src/filters.cpp:1146:12: note: Shadow variable plink-1.07-src/filters.cpp:97:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/filters.cpp:765:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/filters.cpp:1146:12: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/filters.cpp:1257:11: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] plink-1.07-src/filters.cpp:1277:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] plink-1.07-src/filters.cpp:75:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:237:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:257:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:563:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:564:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:684:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:1238:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/filters.cpp:1239:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/fisher.cpp:242:13: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:347:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:348:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:349:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:350:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:351:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:352:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:354:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:357:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:361:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:362:5: style: C-style pointer casting [cstyleCast] plink-1.07-src/fisher.cpp:347:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:348:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:349:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:350:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:351:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:352:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:354:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:357:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:361:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:362:5: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] plink-1.07-src/fisher.cpp:19:23: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/fisher.cpp:124:26: style: Parameter 'workspace' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:388:50: style: Parameter 'ldtabl' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:389:16: style: Parameter 'expect' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:389:32: style: Parameter 'percnt' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:389:48: style: Parameter 'emin' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:920:13: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1269:16: style: Parameter 'fact' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1493:16: style: Parameter 'pastp' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1493:47: style: Parameter 'kval' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1493:68: style: Parameter 'ldkey' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1494:38: style: Parameter 'ldstp' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1495:31: style: Parameter 'ifreq' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1495:54: style: Parameter 'ipsh' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1652:13: style: Parameter 'nrow' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1653:9: style: Parameter 'ldkey' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1703:13: style: Parameter 'nrow' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1806:24: style: Parameter 'is' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1806:33: style: Parameter 'i1' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1806:42: style: Parameter 'izero' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1850:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1850:21: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1850:30: style: Parameter 'ir' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1850:42: style: Parameter 'fact' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1883:13: style: Parameter 'nrow' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1883:35: style: Parameter 'ncol' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1884:27: style: Parameter 'fact' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1951:24: style: Parameter 'i1' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1951:33: style: Parameter 'i2' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:1965:30: style: Parameter 'mes' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:2008:17: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:2091:23: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:2091:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] plink-1.07-src/fisher.cpp:2174:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] plink-1.07-src/flip.cpp:79:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/flip.cpp:201:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/flip.cpp:428:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/flip.cpp:152:16: style: Local variable 'loc' shadows outer variable [shadowVariable] plink-1.07-src/flip.cpp:40:28: note: Shadowed declaration plink-1.07-src/flip.cpp:152:16: note: Shadow variable plink-1.07-src/flip.cpp:222:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/flip.cpp:200:10: note: Shadowed declaration plink-1.07-src/flip.cpp:222:14: note: Shadow variable plink-1.07-src/flip.cpp:44:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genedrop.cpp:188:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/genedrop.cpp:327:23: style: Condition 'd2' is always true [knownConditionTrueFalse] plink-1.07-src/genedrop.cpp:327:17: note: Assuming that condition 'd1' is not redundant plink-1.07-src/genedrop.cpp:322:20: note: Assuming that condition 'd1!=d2' is not redundant plink-1.07-src/genedrop.cpp:327:23: note: Condition 'd2' is always true plink-1.07-src/genedrop.cpp:72:19: style: The scope of the variable 'parent' can be reduced. [variableScope] plink-1.07-src/genedrop.cpp:213:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/genepi.cpp:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xx [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xx [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:328:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:448:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:981:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genepi.cpp:78:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] plink-1.07-src/genepi.cpp:169:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] plink-1.07-src/genepi.cpp:42:19: style: The scope of the variable 'a' can be reduced. [variableScope] plink-1.07-src/genepi.cpp:271:7: style: The scope of the variable 'ncase' can be reduced. [variableScope] plink-1.07-src/genepi.cpp:965:35: style:inconclusive: Function 'CCA_caseonly' argument 2 names different: declaration 'blperm' definition 'blperm_case'. [funcArgNamesDifferent] plink-1.07-src/genepi.cpp:224:28: note: Function 'CCA_caseonly' argument 2 names different: declaration 'blperm' definition 'blperm_case'. plink-1.07-src/genepi.cpp:965:35: note: Function 'CCA_caseonly' argument 2 names different: declaration 'blperm' definition 'blperm_case'. plink-1.07-src/genepi.cpp:270:7: style: Local variable 'n' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:562:7: note: Shadowed declaration plink-1.07-src/genepi.cpp:270:7: note: Shadow variable plink-1.07-src/genepi.cpp:173:52: performance: Function parameter 'eigen' should be passed by const reference. [passedByValue] plink-1.07-src/genepi.cpp:434:15: style: Parameter 'S' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:966:11: style: Parameter 'S' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:1182:44: style: Parameter 'pSNP' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:1189:29: style: Parameter 'sample' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:1190:21: style: Parameter 'gp1' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:1191:21: style: Parameter 'gp2' can be declared as reference to const [constParameterReference] plink-1.07-src/genepi.cpp:1186:15: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] plink-1.07-src/genepi.cpp:506:14: style: Variable 'n12' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:507:13: style: Variable 'ne' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:620:25: style: Variable 'cancor1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:660:32: style: Variable 'sorted_eigenvectors_gene1[i]' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:722:46: style: Variable 'sorted_eigenvectors_gene2[i]' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:925:17: style: Variable 'b' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:1043:14: style: Variable 'n12' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:1044:13: style: Variable 'ne' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:1064:15: style: Variable 'nind' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:1198:26: style: Variable 'casewise_deletion' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genepi.cpp:291:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genepi.cpp:312:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genepi.cpp:518:17: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genepi.cpp:1060:17: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genoerr.cpp:307:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] plink-1.07-src/genoerr.cpp:259:10: style: The scope of the variable 'impute_threshold' can be reduced. [variableScope] plink-1.07-src/genoerr.cpp:328:17: style: Local variable 'z2' shadows outer variable [shadowVariable] plink-1.07-src/genoerr.cpp:147:7: note: Shadowed declaration plink-1.07-src/genoerr.cpp:328:17: note: Shadow variable plink-1.07-src/genoerr.cpp:358:13: style: Local variable 'z2' shadows outer variable [shadowVariable] plink-1.07-src/genoerr.cpp:147:7: note: Shadowed declaration plink-1.07-src/genoerr.cpp:358:13: note: Shadow variable plink-1.07-src/genoerr.cpp:122:68: style: Parameter 'geno_freq' can be declared as reference to const [constParameterReference] plink-1.07-src/genome.cpp:54:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:821:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:859:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:1069:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:1181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/genome.cpp:895:21: style: Boolean value assigned to floating point variable. [assignBoolToFloat] plink-1.07-src/genome.cpp:899:18: style: Boolean value assigned to floating point variable. [assignBoolToFloat] plink-1.07-src/plink.h:743:18: style:inconclusive: Technically the member function 'Plink::calcInbreeding' can be const. [functionConst] plink-1.07-src/genome.cpp:429:15: note: Technically the member function 'Plink::calcInbreeding' can be const. plink-1.07-src/plink.h:743:18: note: Technically the member function 'Plink::calcInbreeding' can be const. plink-1.07-src/genome.cpp:388:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/genome.cpp:362:10: note: Shadowed declaration plink-1.07-src/genome.cpp:388:14: note: Shadow variable plink-1.07-src/genome.cpp:894:10: style: Local variable 'pihat' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:611:28: note: Shadowed declaration plink-1.07-src/genome.cpp:894:10: note: Shadow variable plink-1.07-src/genome.cpp:873:24: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/genome.cpp:837:10: note: Shadowed declaration plink-1.07-src/genome.cpp:873:24: note: Shadow variable plink-1.07-src/genome.cpp:874:24: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/genome.cpp:837:10: note: Shadowed declaration plink-1.07-src/genome.cpp:874:24: note: Shadow variable plink-1.07-src/genome.cpp:875:24: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/genome.cpp:837:10: note: Shadowed declaration plink-1.07-src/genome.cpp:875:24: note: Shadow variable plink-1.07-src/genome.cpp:832:60: performance: Function parameter 'IBSg' should be passed by const reference. [passedByValue] plink-1.07-src/genome.cpp:224:39: style: Parameter 'person' can be declared as pointer to const [constParameterPointer] plink-1.07-src/genome.cpp:80:19: style: Variable 'het' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:81:21: style: Variable 'tothet' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:99:16: style: Variable 'geno_nm' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:390:18: style: Variable 'hs' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:391:17: style: Variable 'ht' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:843:14: style: Variable 'e10' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:844:14: style: Variable 'e20' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:848:14: style: Variable 'e21' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:1189:7: style: Variable 'win_end' is assigned a value that is never used. [unreadVariable] plink-1.07-src/genome.cpp:187:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:188:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:189:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:212:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:213:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:600:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:601:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:602:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:603:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:613:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:614:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:615:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:616:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:625:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:626:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:627:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:628:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:649:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:650:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:651:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:652:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:681:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:682:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:683:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:684:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:1159:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:1160:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:1161:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:1162:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/genome.cpp:1223:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/glm.cpp:99:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/whap.h:70:3: warning: Member variable 'Chap::alternate' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/whap.h:70:3: warning: Member variable 'Chap::null' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/whap.h:70:3: warning: Member variable 'Chap::current' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/glm.cpp:50:53: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/greport.cpp:38:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/greport.cpp:236:33: style: C-style pointer casting [cstyleCast] plink-1.07-src/greport.cpp:153:14: style: The scope of the variable 'pvalue' can be reduced. [variableScope] plink-1.07-src/greport.cpp:134:12: style: Local variable 'cline' shadows outer variable [shadowVariable] plink-1.07-src/greport.cpp:60:8: note: Shadowed declaration plink-1.07-src/greport.cpp:134:12: note: Shadow variable plink-1.07-src/greport.cpp:137:14: style: Local variable 'sline' shadows outer variable [shadowVariable] plink-1.07-src/greport.cpp:63:10: note: Shadowed declaration plink-1.07-src/greport.cpp:137:14: note: Shadow variable plink-1.07-src/greport.cpp:141:14: style: Local variable 'buf' shadows outer variable [shadowVariable] plink-1.07-src/greport.cpp:67:10: note: Shadowed declaration plink-1.07-src/greport.cpp:141:14: note: Shadow variable plink-1.07-src/greport.cpp:142:20: style: Local variable 'ss' shadows outer variable [shadowVariable] plink-1.07-src/greport.cpp:68:16: note: Shadowed declaration plink-1.07-src/greport.cpp:142:20: note: Shadow variable plink-1.07-src/greport.cpp:143:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/greport.cpp:69:18: note: Shadowed declaration plink-1.07-src/greport.cpp:143:22: note: Shadow variable plink-1.07-src/gvar.cpp:162:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] plink-1.07-src/gvar.cpp:593:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/gvar.cpp:1141:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/gvar.cpp:40:5: performance: Variable 'a1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/gvar.cpp:41:5: performance: Variable 'a2' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/plink.h:706:18: performance:inconclusive: Technically the member function 'Plink::convertGenericVariantData' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/gvar.cpp:1124:13: note: Technically the member function 'Plink::convertGenericVariantData' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:706:18: note: Technically the member function 'Plink::convertGenericVariantData' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/gvar.cpp:163:19: warning: Either the condition 'GV==NULL' is redundant or there is possible null pointer dereference: GV. [nullPointerRedundantCheck] plink-1.07-src/gvar.cpp:161:12: note: Assuming that condition 'GV==NULL' is not redundant plink-1.07-src/gvar.cpp:163:19: note: Null pointer dereference plink-1.07-src/gvar.cpp:127:20: style: C-style pointer casting [cstyleCast] plink-1.07-src/gvar.cpp:1108:25: style: C-style pointer casting [cstyleCast] plink-1.07-src/gvar.cpp:1109:13: style: C-style pointer casting [cstyleCast] plink-1.07-src/gvar.cpp:1114:19: style: C-style pointer casting [cstyleCast] plink-1.07-src/gvar.cpp:365:10: style: The scope of the variable 'GV' can be reduced. [variableScope] plink-1.07-src/gvar.cpp:202:16: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gvar.cpp:657:15: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gvar.cpp:1039:18: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gvar.cpp:1152:15: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gvar.cpp:171:40: style: Variable 'f' is assigned a value that is never used. [unreadVariable] plink-1.07-src/gvar.cpp:886:21: style: Variable 'var' is assigned a value that is never used. [unreadVariable] plink-1.07-src/gvar.cpp:908:21: style: Variable 'var' is assigned a value that is never used. [unreadVariable] plink-1.07-src/gvar.cpp:934:21: style: Variable 'var' is assigned a value that is never used. [unreadVariable] plink-1.07-src/gxe.cpp:106:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/gxe.cpp:38:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/gxe.cpp:38:18: note: Shadow variable plink-1.07-src/gxe.cpp:95:16: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/gxe.cpp:163:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gxe.cpp:219:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/gxe.cpp:77:12: style: Variable 'original' is assigned a value that is never used. [unreadVariable] plink-1.07-src/gxe.cpp:133:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:197:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:198:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:199:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:256:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:257:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:258:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/gxe.cpp:313:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/nlist.h:45:7: performance: Variable 'range_string' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/nlist.h:42:3: style: Class 'NList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/hapglm.cpp:152:31: style: C-style pointer casting [cstyleCast] plink-1.07-src/hapglm.cpp:212:62: style: C-style pointer casting [cstyleCast] plink-1.07-src/nlist.h:50:28: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/nlist.h:56:28: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/hapglm.cpp:40:53: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/haploCC.cpp:261:14: style: Local variable 'p2' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:171:7: note: Shadowed declaration plink-1.07-src/haploCC.cpp:261:14: note: Shadow variable plink-1.07-src/haploCC.cpp:262:14: style: Local variable 'p1' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:170:7: note: Shadowed declaration plink-1.07-src/haploCC.cpp:262:14: note: Shadow variable plink-1.07-src/haploCC.cpp:39:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploCC.cpp:331:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploCC.cpp:268:16: style: Variable 'p' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haploCC.cpp:129:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/haploQTL.cpp:94:12: style: The scope of the variable 'c1' can be reduced. [variableScope] plink-1.07-src/haploQTL.cpp:95:12: style: The scope of the variable 'c2' can be reduced. [variableScope] plink-1.07-src/haploQTL.cpp:156:12: style: The scope of the variable 'c1' can be reduced. [variableScope] plink-1.07-src/haploQTL.cpp:157:12: style: The scope of the variable 'c2' can be reduced. [variableScope] plink-1.07-src/haploQTL.cpp:73:20: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploQTL.cpp:74:20: style: Variable 'gperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploQTL.cpp:136:20: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploQTL.cpp:137:20: style: Variable 'gperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haploQTL.cpp:94:21: warning: Either the condition 'i1!=tests.end()' is redundant or there is possible dereference of an invalid iterator: i1. [derefInvalidIteratorRedundantCheck] plink-1.07-src/haploQTL.cpp:97:16: note: Assuming that condition 'i1!=tests.end()' is not redundant plink-1.07-src/haploQTL.cpp:94:21: note: Dereference of an invalid iterator plink-1.07-src/haploQTL.cpp:95:21: warning: Either the condition 'i2!=tests.end()' is redundant or there is possible dereference of an invalid iterator: i2. [derefInvalidIteratorRedundantCheck] plink-1.07-src/haploQTL.cpp:107:13: note: Assuming that condition 'i2!=tests.end()' is not redundant plink-1.07-src/haploQTL.cpp:95:21: note: Dereference of an invalid iterator plink-1.07-src/haploQTL.cpp:156:21: warning: Either the condition 'i1!=tests.end()' is redundant or there is possible dereference of an invalid iterator: i1. [derefInvalidIteratorRedundantCheck] plink-1.07-src/haploQTL.cpp:159:16: note: Assuming that condition 'i1!=tests.end()' is not redundant plink-1.07-src/haploQTL.cpp:156:21: note: Dereference of an invalid iterator plink-1.07-src/haploQTL.cpp:157:21: warning: Either the condition 'i2!=tests.end()' is redundant or there is possible dereference of an invalid iterator: i2. [derefInvalidIteratorRedundantCheck] plink-1.07-src/haploQTL.cpp:169:13: note: Assuming that condition 'i2!=tests.end()' is not redundant plink-1.07-src/haploQTL.cpp:157:21: note: Dereference of an invalid iterator plink-1.07-src/haploQTL.cpp:239:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/haploTDT.cpp:140:8: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/haploTDT.cpp:133:8: note: First condition plink-1.07-src/haploTDT.cpp:140:8: note: Second condition plink-1.07-src/haploTDT.cpp:33:47: style: Parameter 'tests' can be declared as reference to const [constParameterReference] plink-1.07-src/haploTDT.cpp:80:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/haplohelper.cpp:89:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:375:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:461:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:853:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:959:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/haplohelper.cpp:1158:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/phase.h:224:16: style:inconclusive: Technically the member function 'HaploPhase::makeTestSet' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:562:26: note: Technically the member function 'HaploPhase::makeTestSet' can be const. plink-1.07-src/phase.h:224:16: note: Technically the member function 'HaploPhase::makeTestSet' can be const. plink-1.07-src/phase.h:230:10: style:inconclusive: Technically the member function 'HaploPhase::getSubHaplotypeName' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:585:20: note: Technically the member function 'HaploPhase::getSubHaplotypeName' can be const. plink-1.07-src/phase.h:230:10: note: Technically the member function 'HaploPhase::getSubHaplotypeName' can be const. plink-1.07-src/phase.h:285:10: style:inconclusive: Technically the member function 'HaploPhase::haplotypeName' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:35:20: note: Technically the member function 'HaploPhase::haplotypeName' can be const. plink-1.07-src/phase.h:285:10: note: Technically the member function 'HaploPhase::haplotypeName' can be const. plink-1.07-src/phase.h:385:10: style:inconclusive: Technically the member function 'HaploPhase::rsq_internal' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:843:20: note: Technically the member function 'HaploPhase::rsq_internal' can be const. plink-1.07-src/phase.h:385:10: note: Technically the member function 'HaploPhase::rsq_internal' can be const. plink-1.07-src/phase.h:386:10: style:inconclusive: Technically the member function 'HaploPhase::freq' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:951:20: note: Technically the member function 'HaploPhase::freq' can be const. plink-1.07-src/phase.h:386:10: note: Technically the member function 'HaploPhase::freq' can be const. plink-1.07-src/phase.h:415:12: style:inconclusive: Technically the member function 'HaploPhase::returnHaplotypeSet' can be const. [functionConst] plink-1.07-src/haplohelper.cpp:1324:22: note: Technically the member function 'HaploPhase::returnHaplotypeSet' can be const. plink-1.07-src/phase.h:415:12: note: Technically the member function 'HaploPhase::returnHaplotypeSet' can be const. plink-1.07-src/haplohelper.cpp:1576:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] plink-1.07-src/haplohelper.cpp:1578:8: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/haplohelper.cpp:1576:8: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/haplohelper.cpp:1631:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] plink-1.07-src/haplohelper.cpp:1633:8: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/haplohelper.cpp:1631:8: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/haplohelper.cpp:621:7: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] plink-1.07-src/haplohelper.cpp:181:10: style: The scope of the variable 'w' can be reduced. [variableScope] plink-1.07-src/haplohelper.cpp:182:10: style: The scope of the variable 'c' can be reduced. [variableScope] plink-1.07-src/haplohelper.cpp:35:38: style:inconclusive: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. [funcArgNamesDifferent] plink-1.07-src/phase.h:285:28: note: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. plink-1.07-src/haplohelper.cpp:35:38: note: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. plink-1.07-src/haplohelper.cpp:149:10: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:103:12: note: Shadowed declaration plink-1.07-src/haplohelper.cpp:149:10: note: Shadow variable plink-1.07-src/haplohelper.cpp:249:13: style: Local variable 'freq' shadows outer function [shadowFunction] plink-1.07-src/phase.h:386:10: note: Shadowed declaration plink-1.07-src/haplohelper.cpp:249:13: note: Shadow variable plink-1.07-src/haplohelper.cpp:267:15: style: Local variable 'freq' shadows outer function [shadowFunction] plink-1.07-src/phase.h:386:10: note: Shadowed declaration plink-1.07-src/haplohelper.cpp:267:15: note: Shadow variable plink-1.07-src/haplohelper.cpp:1155:10: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:103:12: note: Shadowed declaration plink-1.07-src/haplohelper.cpp:1155:10: note: Shadow variable plink-1.07-src/haplohelper.cpp:1448:15: style: Local variable 'dosage' shadows outer function [shadowFunction] plink-1.07-src/phase.h:245:10: note: Shadowed declaration plink-1.07-src/haplohelper.cpp:1448:15: note: Shadow variable plink-1.07-src/haplohelper.cpp:317:42: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/haplohelper.cpp:531:58: style: Parameter 'mask' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:562:50: style: Parameter 'mask' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:562:68: style: Parameter 'allele' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:585:52: style: Parameter 'mask' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:585:70: style: Parameter 'allele' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:843:45: style: Parameter 'mask1' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:843:64: style: Parameter 'alleles1' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:844:17: style: Parameter 'mask2' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:844:36: style: Parameter 'alleles2' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:951:37: style: Parameter 'mask1' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:951:56: style: Parameter 'alleles1' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:1324:53: style: Parameter 'mask' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:1325:21: style: Parameter 'alleles' can be declared as reference to const [constParameterReference] plink-1.07-src/haplohelper.cpp:95:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haplohelper.cpp:1146:16: style: Variable 'person1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haplohelper.cpp:1147:16: style: Variable 'person2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/haplohelper.cpp:181:12: style: Variable 'w' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:198:10: style: Variable 'w' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:874:23: style: Variable 'fAb' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:874:32: style: Variable 'faB' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:874:41: style: Variable 'fab' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:918:6: style: Variable 'faB' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:920:6: style: Variable 'fAb' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:922:6: style: Variable 'fab' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1223:26: style: Variable 'probHomozyg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1238:19: style: Variable 'probHomozyg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1240:19: style: Variable 'probHomozyg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1250:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1295:11: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1392:27: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1455:26: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1459:24: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1464:26: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1468:24: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1482:23: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1487:21: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1491:23: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1495:21: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplohelper.cpp:1514:20: style: Variable 'weightedVariance' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplowindow.cpp:933:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/haplowindow.cpp:176:12: warning: Either the condition 'nh<0' is redundant or f.resize() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] plink-1.07-src/haplowindow.cpp:173:11: note: Assuming that condition 'nh<0' is not redundant plink-1.07-src/haplowindow.cpp:176:12: note: Invalid argument plink-1.07-src/haplowindow.cpp:177:15: warning: Either the condition 'nh<0' is redundant or zero.resize() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] plink-1.07-src/haplowindow.cpp:173:11: note: Assuming that condition 'nh<0' is not redundant plink-1.07-src/haplowindow.cpp:177:15: note: Invalid argument plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::ns' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::nh' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::np' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::start' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::stop' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::sampleLogLikelihood' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.cpp:93:14: warning: Member variable 'HaploWindow::iter' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/haplowindow.h:98:10: style:inconclusive: Technically the member function 'HaploWindow::haplotypeName' can be const. [functionConst] plink-1.07-src/haplowindow.cpp:71:21: note: Technically the member function 'HaploWindow::haplotypeName' can be const. plink-1.07-src/haplowindow.h:98:10: note: Technically the member function 'HaploWindow::haplotypeName' can be const. plink-1.07-src/haplowindow.cpp:917:11: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/haplowindow.cpp:914:11: note: First condition plink-1.07-src/haplowindow.cpp:917:11: note: Second condition plink-1.07-src/haplowindow.cpp:71:39: style:inconclusive: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. [funcArgNamesDifferent] plink-1.07-src/haplowindow.h:98:28: note: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. plink-1.07-src/haplowindow.cpp:71:39: note: Function 'haplotypeName' argument 1 names different: declaration 'i' definition 'h'. plink-1.07-src/haplowindow.cpp:397:8: style: Local variable 'firstHeterozygote' shadows outer variable [shadowVariable] plink-1.07-src/haplowindow.cpp:330:11: note: Shadowed declaration plink-1.07-src/haplowindow.cpp:397:8: note: Shadow variable plink-1.07-src/haplowindow.cpp:182:15: style: Variable 'fsum' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplowindow.cpp:222:12: style: Variable 'fsum' is assigned a value that is never used. [unreadVariable] plink-1.07-src/haplowindow.cpp:768:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:372:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:385:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:398:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:524:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:546:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1050:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1057:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1075:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1157:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:1387:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:2629:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:2714:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:2924:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:3029:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:3534:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/helper.cpp:3672:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:727:18: style:inconclusive: Technically the member function 'Plink::prettyPrintLengths' can be const. [functionConst] plink-1.07-src/helper.cpp:1255:13: note: Technically the member function 'Plink::prettyPrintLengths' can be const. plink-1.07-src/plink.h:727:18: note: Technically the member function 'Plink::prettyPrintLengths' can be const. plink-1.07-src/plink.h:765:18: style:inconclusive: Technically the member function 'Plink::missingGenotype' can be const. [functionConst] plink-1.07-src/helper.cpp:1247:13: note: Technically the member function 'Plink::missingGenotype' can be const. plink-1.07-src/plink.h:765:18: note: Technically the member function 'Plink::missingGenotype' can be const. plink-1.07-src/plink.h:896:18: style:inconclusive: Technically the member function 'Plink::setFlagToCase' can be const. [functionConst] plink-1.07-src/helper.cpp:3440:13: note: Technically the member function 'Plink::setFlagToCase' can be const. plink-1.07-src/plink.h:896:18: note: Technically the member function 'Plink::setFlagToCase' can be const. plink-1.07-src/plink.h:897:18: style:inconclusive: Technically the member function 'Plink::setFlagToControl' can be const. [functionConst] plink-1.07-src/helper.cpp:3454:13: note: Technically the member function 'Plink::setFlagToControl' can be const. plink-1.07-src/plink.h:897:18: note: Technically the member function 'Plink::setFlagToControl' can be const. plink-1.07-src/helper.cpp:466:10: style: Condition 'i>0' is always true [knownConditionTrueFalse] plink-1.07-src/helper.cpp:461:14: note: Assignment 'i=1', assigned value is 1 plink-1.07-src/helper.cpp:466:10: note: Condition 'i>0' is always true plink-1.07-src/helper.cpp:1917:24: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3137:36: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3138:31: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3147:34: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3148:29: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3188:28: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3399:15: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:3405:16: style: C-style pointer casting [cstyleCast] plink-1.07-src/helper.cpp:1483:31: warning: Function 'leftWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' [funcArgOrderDifferent] plink-1.07-src/helper.h:155:31: note: Function 'leftWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' plink-1.07-src/helper.cpp:1483:31: note: Function 'leftWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' plink-1.07-src/helper.cpp:1510:32: warning: Function 'rightWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' [funcArgOrderDifferent] plink-1.07-src/helper.h:156:32: note: Function 'rightWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' plink-1.07-src/helper.cpp:1510:32: note: Function 'rightWindowEdge' argument order different: declaration 'P, bp, chr' definition 'P, chr, bp' plink-1.07-src/helper.cpp:358:13: style: Local variable 'n2' shadows outer variable [shadowVariable] plink-1.07-src/helper.cpp:337:9: note: Shadowed declaration plink-1.07-src/helper.cpp:358:13: note: Shadow variable plink-1.07-src/helper.cpp:729:12: style: Local variable 'h' shadows outer variable [shadowVariable] plink-1.07-src/helper.cpp:704:16: note: Shadowed declaration plink-1.07-src/helper.cpp:729:12: note: Shadow variable plink-1.07-src/helper.cpp:2084:37: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/helper.cpp:2061:33: note: Shadowed declaration plink-1.07-src/helper.cpp:2084:37: note: Shadow variable plink-1.07-src/helper.cpp:2191:8: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/helper.cpp:2191:8: note: Shadow variable plink-1.07-src/helper.cpp:2324:7: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/helper.cpp:2324:7: note: Shadow variable plink-1.07-src/helper.cpp:2631:9: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/helper.cpp:2631:9: note: Shadow variable plink-1.07-src/helper.cpp:2716:9: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/helper.cpp:2716:9: note: Shadow variable plink-1.07-src/helper.cpp:3503:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/helper.cpp:3503:18: note: Shadow variable plink-1.07-src/helper.cpp:3539:16: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/helper.cpp:3512:7: note: Shadowed declaration plink-1.07-src/helper.cpp:3539:16: note: Shadow variable plink-1.07-src/helper.cpp:132:31: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:150:33: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:207:25: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:214:28: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:222:29: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:234:43: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:246:35: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:258:36: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:281:39: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:301:33: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:319:30: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:369:19: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:369:29: performance: Function parameter 'a' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:382:45: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:382:55: performance: Function parameter 'a' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:395:25: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:395:35: performance: Function parameter 'a' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:522:19: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:700:62: performance: Function parameter 'S' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:957:43: performance: Function parameter 'm' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:964:39: performance: Function parameter 'm' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1152:29: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1170:37: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1177:27: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1194:24: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1227:50: performance: Function parameter 'd' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:1279:48: performance: Function parameter 'm' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:2912:34: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:3020:43: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:3366:29: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:3665:81: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] plink-1.07-src/helper.cpp:55:33: style: Parameter 's' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:63:37: style: Parameter 's' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:72:25: style: Parameter 'm' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:86:25: style: Parameter 'm' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:96:28: style: Parameter 'm' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:645:31: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:700:47: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:786:32: style: Parameter 'snps' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:824:31: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:850:25: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:883:25: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:957:33: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:964:29: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:971:28: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:983:46: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:1000:35: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:1034:40: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:1279:85: style: Parameter 'varcode' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:1451:63: style: Parameter 'nSNP' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:2183:38: style: Parameter 'del' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:2316:45: style: Parameter 'del' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:2947:23: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:2948:19: style: Parameter 'input' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:3161:36: style: Parameter 'r1' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:3200:61: style: Parameter 'ranges' can be declared as reference to const [constParameterReference] plink-1.07-src/helper.cpp:46:29: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] plink-1.07-src/helper.cpp:626:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:673:28: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] plink-1.07-src/helper.cpp:854:11: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:858:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:869:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:883:41: style: Parameter 'person' can be declared as pointer to const [constParameterPointer] plink-1.07-src/helper.cpp:887:11: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:1486:11: style: Variable 'marker' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:1514:11: style: Variable 'marker' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:2978:15: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:2987:12: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:3002:12: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/helper.cpp:3468:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] plink-1.07-src/helper.cpp:3468:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] plink-1.07-src/helper.cpp:155:10: style: Unused variable: buff [unusedVariable] plink-1.07-src/helper.cpp:2204:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] plink-1.07-src/helper.cpp:3324:14: style: Variable 'last' is assigned a value that is never used. [unreadVariable] plink-1.07-src/helper.cpp:3328:24: style: Variable 'thisChromosome' is assigned a value that is never used. [unreadVariable] plink-1.07-src/helper.cpp:3329:9: style: Unused variable: nextChromosome [unusedVariable] plink-1.07-src/helper.cpp:490:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:509:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:1499:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:1527:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2012:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2031:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2032:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2039:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2068:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2094:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2095:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2098:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2105:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2212:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2219:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2220:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2256:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2257:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2261:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2262:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2263:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2271:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2290:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2295:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2296:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2356:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2357:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2360:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2361:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2362:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2370:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2391:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2400:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2401:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/helper.cpp:2907:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:270:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/homozyg.cpp:973:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/homozyg.cpp:2483:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::leftHomozyg' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::leftMissing' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::rightHomozyg' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::rightMissing' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::homCount' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::hetCount' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:1966:10: warning: Member variable 'HWindow::misCount' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/homozyg.cpp:36:8: style:inconclusive: Technically the member function 'std::less < Segment * >::operator()' can be const. [functionConst] plink-1.07-src/homozyg.cpp:44:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] plink-1.07-src/homozyg.cpp:45:5: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/homozyg.cpp:44:10: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/homozyg.cpp:657:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] plink-1.07-src/homozyg.cpp:839:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] plink-1.07-src/homozyg.cpp:2447:11: style: The scope of the variable 'E_A0' can be reduced. [variableScope] plink-1.07-src/homozyg.cpp:2449:11: style: The scope of the variable 'E_U0' can be reduced. [variableScope] plink-1.07-src/homozyg.cpp:2821:15: style: The scope of the variable 'E_A0' can be reduced. [variableScope] plink-1.07-src/homozyg.cpp:2823:15: style: The scope of the variable 'E_U0' can be reduced. [variableScope] plink-1.07-src/homozyg.cpp:2406:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/homozyg.cpp:2406:18: note: Shadow variable plink-1.07-src/homozyg.cpp:2706:16: style: Local variable 'coverage_aff' shadows outer argument [shadowArgument] plink-1.07-src/homozyg.cpp:2344:25: note: Shadowed declaration plink-1.07-src/homozyg.cpp:2706:16: note: Shadow variable plink-1.07-src/homozyg.cpp:2707:16: style: Local variable 'coverage_unaff' shadows outer argument [shadowArgument] plink-1.07-src/homozyg.cpp:2345:25: note: Shadowed declaration plink-1.07-src/homozyg.cpp:2707:16: note: Shadow variable plink-1.07-src/homozyg.cpp:2744:31: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/homozyg.cpp:2725:34: note: Shadowed declaration plink-1.07-src/homozyg.cpp:2744:31: note: Shadow variable plink-1.07-src/homozyg.cpp:2155:20: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] plink-1.07-src/homozyg.cpp:100:39: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:101:25: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:150:28: style: Parameter 'segmentCount' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:151:31: style: Parameter 'segmentLength' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:2344:25: style: Parameter 'coverage_aff' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:2345:25: style: Parameter 'coverage_unaff' can be declared as reference to const [constParameterReference] plink-1.07-src/homozyg.cpp:569:29: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] plink-1.07-src/homozyg.cpp:569:43: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] plink-1.07-src/homozyg.cpp:761:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/homozyg.cpp:2332:28: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] plink-1.07-src/homozyg.cpp:2332:42: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] plink-1.07-src/homozyg.cpp:2751:17: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/homozyg.cpp:2756:14: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/homozyg.cpp:2772:14: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/homozyg.cpp:624:22: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/homozyg.cpp:633:22: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/homozyg.cpp:643:28: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/homozyg.cpp:648:28: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/homozyg.cpp:1450:11: warning: Array index -1 is out of bounds. [negativeContainerIndex] plink-1.07-src/homozyg.cpp:1435:20: note: Assignment 'maxlisti=-1', assigned value is -1 plink-1.07-src/homozyg.cpp:1437:20: note: Assuming condition is false plink-1.07-src/homozyg.cpp:1450:11: note: Negative array index plink-1.07-src/homozyg.cpp:1451:11: warning: Array index -1 is out of bounds. [negativeContainerIndex] plink-1.07-src/homozyg.cpp:1435:20: note: Assignment 'maxlisti=-1', assigned value is -1 plink-1.07-src/homozyg.cpp:1437:20: note: Assuming condition is false plink-1.07-src/homozyg.cpp:1451:11: note: Negative array index plink-1.07-src/homozyg.cpp:59:7: style: class member 'Pool::chr' is never used. [unusedStructMember] plink-1.07-src/homozyg.cpp:1942:8: style: class member 'HWindow::leftHomozyg' is never used. [unusedStructMember] plink-1.07-src/homozyg.cpp:1942:21: style: class member 'HWindow::leftMissing' is never used. [unusedStructMember] plink-1.07-src/homozyg.cpp:1943:8: style: class member 'HWindow::rightHomozyg' is never used. [unusedStructMember] plink-1.07-src/homozyg.cpp:1943:22: style: class member 'HWindow::rightMissing' is never used. [unusedStructMember] plink-1.07-src/homozyg.cpp:89:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:90:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:655:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:837:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1129:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1173:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1219:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1227:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1248:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1253:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1263:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1266:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1301:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1305:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1319:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1350:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1415:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1420:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1479:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1501:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1517:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1533:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1540:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1560:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1580:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1672:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:1794:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:2734:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/homozyg.cpp:2782:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:148:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/hotel.cpp:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/hotel.cpp:105:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/hotel.cpp:105:18: note: Shadow variable plink-1.07-src/hotel.cpp:445:12: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/hotel.cpp:355:7: note: Shadowed declaration plink-1.07-src/hotel.cpp:445:12: note: Shadow variable plink-1.07-src/hotel.cpp:457:12: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/hotel.cpp:355:7: note: Shadowed declaration plink-1.07-src/hotel.cpp:457:12: note: Shadow variable plink-1.07-src/hotel.cpp:566:14: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/hotel.cpp:355:7: note: Shadowed declaration plink-1.07-src/hotel.cpp:566:14: note: Shadow variable plink-1.07-src/hotel.cpp:195:12: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/hotel.cpp:196:11: style: Parameter 'S' can be declared as reference to const [constParameterReference] plink-1.07-src/hotel.cpp:334:47: style: Parameter 'pSNP' can be declared as reference to const [constParameterReference] plink-1.07-src/hotel.cpp:338:32: style: Parameter 'sample' can be declared as reference to const [constParameterReference] plink-1.07-src/hotel.cpp:372:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/hotel.cpp:490:21: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/hotel.cpp:424:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:425:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:426:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:432:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:545:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:546:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:547:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:548:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:549:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:553:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/hotel.cpp:558:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/idhelp.h:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.cpp:43:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.cpp:450:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.cpp:1503:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.cpp:1633:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.cpp:1876:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/idhelp.h:185:3: warning: Member variable 'IDGroup::file' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/idhelp.h:103:5: performance: Variable 'value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/idhelp.h:105:5: performance: Variable 'jointValue' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/idhelp.h:262:8: performance:inconclusive: Technically the member function 'IDHelper::matchIndividual' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/idhelp.cpp:124:16: note: Technically the member function 'IDHelper::matchIndividual' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/idhelp.h:262:8: note: Technically the member function 'IDHelper::matchIndividual' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/idhelp.h:268:8: style:inconclusive: Technically the member function 'IDHelper::setAlias' can be const. [functionConst] plink-1.07-src/idhelp.cpp:356:16: note: Technically the member function 'IDHelper::setAlias' can be const. plink-1.07-src/idhelp.h:268:8: note: Technically the member function 'IDHelper::setAlias' can be const. plink-1.07-src/idhelp.cpp:1304:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] plink-1.07-src/idhelp.cpp:1277:11: note: outer condition: par::idhelp_list_aliases plink-1.07-src/idhelp.cpp:1304:13: note: identical inner condition: par::idhelp_list_aliases plink-1.07-src/idhelp.cpp:186:27: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:497:19: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:564:24: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:637:21: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:694:44: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:1478:61: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:2179:60: style: C-style pointer casting [cstyleCast] plink-1.07-src/idhelp.cpp:506:12: style: The scope of the variable 'seenJoint' can be reduced. [variableScope] plink-1.07-src/idhelp.cpp:507:12: style: The scope of the variable 'seenAttrib' can be reduced. [variableScope] plink-1.07-src/idhelp.cpp:807:34: style: The scope of the variable 'equivMap' can be reduced. [variableScope] plink-1.07-src/idhelp.cpp:63:13: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:40:13: note: Shadowed declaration plink-1.07-src/idhelp.cpp:63:13: note: Shadow variable plink-1.07-src/idhelp.cpp:221:16: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:210:12: note: Shadowed declaration plink-1.07-src/idhelp.cpp:221:16: note: Shadow variable plink-1.07-src/idhelp.cpp:282:12: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:210:12: note: Shadowed declaration plink-1.07-src/idhelp.cpp:282:12: note: Shadow variable plink-1.07-src/idhelp.cpp:529:10: style: Local variable 'seenJoint' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:506:12: note: Shadowed declaration plink-1.07-src/idhelp.cpp:529:10: note: Shadow variable plink-1.07-src/idhelp.cpp:705:29: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:705:29: note: Shadow variable plink-1.07-src/idhelp.cpp:729:36: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:729:36: note: Shadow variable plink-1.07-src/idhelp.cpp:732:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:727:13: note: Shadowed declaration plink-1.07-src/idhelp.cpp:732:14: note: Shadow variable plink-1.07-src/idhelp.cpp:747:14: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:742:12: note: Shadowed declaration plink-1.07-src/idhelp.cpp:747:14: note: Shadow variable plink-1.07-src/idhelp.cpp:751:40: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:751:40: note: Shadow variable plink-1.07-src/idhelp.cpp:757:19: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:747:14: note: Shadowed declaration plink-1.07-src/idhelp.cpp:757:19: note: Shadow variable plink-1.07-src/idhelp.cpp:811:40: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:811:40: note: Shadow variable plink-1.07-src/idhelp.cpp:828:40: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:828:40: note: Shadow variable plink-1.07-src/idhelp.cpp:879:33: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:879:33: note: Shadow variable plink-1.07-src/idhelp.cpp:950:15: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:879:33: note: Shadowed declaration plink-1.07-src/idhelp.cpp:950:15: note: Shadow variable plink-1.07-src/idhelp.cpp:1033:42: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1033:42: note: Shadow variable plink-1.07-src/idhelp.cpp:1091:47: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1091:47: note: Shadow variable plink-1.07-src/idhelp.cpp:1134:38: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1134:38: note: Shadow variable plink-1.07-src/idhelp.cpp:1246:42: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1246:42: note: Shadow variable plink-1.07-src/idhelp.cpp:1346:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1346:16: note: Shadow variable plink-1.07-src/idhelp.cpp:1377:45: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:691:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1377:45: note: Shadow variable plink-1.07-src/idhelp.cpp:1465:30: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1405:26: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1465:30: note: Shadow variable plink-1.07-src/idhelp.cpp:1624:13: style: Local variable 'tlist' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1548:9: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1624:13: note: Shadow variable plink-1.07-src/idhelp.cpp:1625:14: style: Local variable 't' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1549:10: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1625:14: note: Shadow variable plink-1.07-src/idhelp.cpp:1648:16: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1559:13: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1648:16: note: Shadow variable plink-1.07-src/idhelp.cpp:1733:17: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1559:13: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1733:17: note: Shadow variable plink-1.07-src/idhelp.cpp:1784:17: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1559:13: note: Shadowed declaration plink-1.07-src/idhelp.cpp:1784:17: note: Shadow variable plink-1.07-src/idhelp.cpp:2068:19: style: Local variable 't' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1862:11: note: Shadowed declaration plink-1.07-src/idhelp.cpp:2068:19: note: Shadow variable plink-1.07-src/idhelp.cpp:2099:14: style: Local variable 't' shadows outer variable [shadowVariable] plink-1.07-src/idhelp.cpp:1862:11: note: Shadowed declaration plink-1.07-src/idhelp.cpp:2099:14: note: Shadow variable plink-1.07-src/idhelp.cpp:27:57: performance: Function parameter 'q' should be passed by const reference. [passedByValue] plink-1.07-src/idhelp.cpp:744:23: style: Variable 'jf' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:752:19: style: Variable 'ss' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:774:20: style: Variable 'jf' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:1031:14: style: Variable 'v' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:1245:14: style: Variable 'v' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:2200:25: style: Variable 'thisLine' can be declared as reference to const [constVariableReference] plink-1.07-src/idhelp.cpp:150:17: style: Variable 'myValue' can be declared as pointer to const [constVariablePointer] plink-1.07-src/idhelp.cpp:732:14: style: Variable 'f' can be declared as pointer to const [constVariablePointer] plink-1.07-src/idhelp.cpp:1559:13: style: Variable 'f' can be declared as pointer to const [constVariablePointer] plink-1.07-src/idhelp.cpp:2051:18: style: Variable 'thisGroup' can be declared as pointer to const [constVariablePointer] plink-1.07-src/idhelp.cpp:85:29: warning: Either the condition 'f==fieldMap.end()' is redundant or there is possible dereference of an invalid iterator: f. [derefInvalidIteratorRedundantCheck] plink-1.07-src/idhelp.cpp:82:14: note: Assuming that condition 'f==fieldMap.end()' is not redundant plink-1.07-src/idhelp.cpp:85:29: note: Dereference of an invalid iterator plink-1.07-src/idhelp.cpp:128:8: style: Variable 'match' is assigned a value that is never used. [unreadVariable] plink-1.07-src/idhelp.cpp:529:20: style: Variable 'seenJoint' is assigned a value that is never used. [unreadVariable] plink-1.07-src/idhelp.cpp:867:26: style: Variable 'header' is assigned a value that is never used. [unreadVariable] plink-1.07-src/idhelp.cpp:1015:23: style: Variable 'group' is assigned a value that is never used. [unreadVariable] plink-1.07-src/impute.cpp:37:3: warning: Member variable 'probabilisticGenotype::genotyped' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/impute.cpp:41:14: style: Variable 'genotype' is reassigned a value before the old one has been used. [redundantAssignment] plink-1.07-src/impute.cpp:40:23: note: genotype is assigned plink-1.07-src/impute.cpp:41:14: note: genotype is overwritten plink-1.07-src/impute.cpp:206:21: style: Variable 'currentWindow' can be declared as pointer to const [constVariablePointer] plink-1.07-src/informative.cpp:48:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/informative.cpp:323:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:840:18: performance:inconclusive: Technically the member function 'Plink::writeInformative' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/informative.cpp:349:13: note: Technically the member function 'Plink::writeInformative' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:840:18: note: Technically the member function 'Plink::writeInformative' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/informative.cpp:97:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/informative.cpp:70:18: note: Shadowed declaration plink-1.07-src/informative.cpp:97:22: note: Shadow variable plink-1.07-src/informative.cpp:147:14: style: Local variable 'pihat' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:611:28: note: Shadowed declaration plink-1.07-src/informative.cpp:147:14: note: Shadow variable plink-1.07-src/informative.cpp:55:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/input.cpp:66:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:671:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:776:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:891:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:1226:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:1328:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:1566:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:1946:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:2360:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:2583:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:2701:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/input.cpp:2807:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:710:18: performance:inconclusive: Technically the member function 'Plink::readStdIn' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/input.cpp:2550:13: note: Technically the member function 'Plink::readStdIn' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:710:18: note: Technically the member function 'Plink::readStdIn' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/input.cpp:2037:10: style: C-style pointer casting [cstyleCast] plink-1.07-src/input.cpp:172:14: style: Local variable 'phenotype' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:621:18: note: Shadowed declaration plink-1.07-src/input.cpp:172:14: note: Shadow variable plink-1.07-src/input.cpp:1502:11: style: Local variable 'nvalid' shadows outer variable [shadowVariable] plink-1.07-src/input.cpp:1346:7: note: Shadowed declaration plink-1.07-src/input.cpp:1502:11: note: Shadow variable plink-1.07-src/input.cpp:1490:10: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/input.cpp:1490:10: note: Shadow variable plink-1.07-src/input.cpp:1498:10: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/input.cpp:1498:10: note: Shadow variable plink-1.07-src/input.cpp:1505:17: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/input.cpp:1453:33: note: Shadowed declaration plink-1.07-src/input.cpp:1505:17: note: Shadow variable plink-1.07-src/input.cpp:1728:11: style: Local variable 'nvalid' shadows outer variable [shadowVariable] plink-1.07-src/input.cpp:1582:7: note: Shadowed declaration plink-1.07-src/input.cpp:1728:11: note: Shadow variable plink-1.07-src/input.cpp:1716:10: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/input.cpp:1716:10: note: Shadow variable plink-1.07-src/input.cpp:1724:10: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/input.cpp:1724:10: note: Shadow variable plink-1.07-src/input.cpp:1731:17: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/input.cpp:1679:33: note: Shadowed declaration plink-1.07-src/input.cpp:1731:17: note: Shadow variable plink-1.07-src/input.cpp:2297:14: style: Local variable 'phenotype' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:621:18: note: Shadowed declaration plink-1.07-src/input.cpp:2297:14: note: Shadow variable plink-1.07-src/input.cpp:1977:32: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] plink-1.07-src/input.cpp:2265:32: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] plink-1.07-src/input.cpp:1907:14: warning: Either the condition 'p1<0' is redundant, otherwise there is negative array index -1. [negativeContainerIndex] plink-1.07-src/input.cpp:1904:15: note: Assuming that condition 'p1<0' is not redundant plink-1.07-src/input.cpp:1907:14: note: Negative array index plink-1.07-src/input.cpp:2732:20: style: Variable 'success' is assigned a value that is never used. [unreadVariable] plink-1.07-src/input.cpp:1310:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/input.cpp:1468:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/input.cpp:1694:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/lapackf.cpp:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/lapackf.cpp:40:35: style: Parameter 'A' can be declared as reference to const [constParameterReference] plink-1.07-src/lapackf.cpp:40:49: style: Parameter 'S' can be declared as reference to const [constParameterReference] plink-1.07-src/lapackf.cpp:40:63: style: Parameter 'V' can be declared as reference to const [constParameterReference] plink-1.07-src/lapackf.cpp:42:8: style: Variable 'm' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lapackf.cpp:43:13: style: Variable 'U' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lapackf.cpp:44:14: style: Variable 'tV' is assigned a value that is never used. [unreadVariable] plink-1.07-src/legacy.cpp:378:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/legacy.cpp:835:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/legacy.cpp:1145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:860:18: style:inconclusive: Technically the member function 'Plink::calcPhenotypes' can be const. [functionConst] plink-1.07-src/legacy.cpp:309:14: note: Technically the member function 'Plink::calcPhenotypes' can be const. plink-1.07-src/plink.h:860:18: note: Technically the member function 'Plink::calcPhenotypes' can be const. plink-1.07-src/plink.h:862:18: style:inconclusive: Technically the member function 'Plink::doRegression' can be const. [functionConst] plink-1.07-src/legacy.cpp:753:23: note: Technically the member function 'Plink::doRegression' can be const. plink-1.07-src/plink.h:862:18: note: Technically the member function 'Plink::doRegression' can be const. plink-1.07-src/plink.h:863:18: performance:inconclusive: Technically the member function 'Plink::preCalcRegression_PHENO' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/legacy.cpp:650:13: note: Technically the member function 'Plink::preCalcRegression_PHENO' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:863:18: note: Technically the member function 'Plink::preCalcRegression_PHENO' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:869:18: performance:inconclusive: Technically the member function 'Plink::calcAssociationWithBootstrap' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/legacy.cpp:862:13: note: Technically the member function 'Plink::calcAssociationWithBootstrap' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:869:18: note: Technically the member function 'Plink::calcAssociationWithBootstrap' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/legacy.cpp:258:7: style: Local variable 'npheno' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:564:7: note: Shadowed declaration plink-1.07-src/legacy.cpp:258:7: note: Shadow variable plink-1.07-src/legacy.cpp:362:18: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/legacy.cpp:362:18: note: Shadow variable plink-1.07-src/legacy.cpp:451:28: style: Local variable 'p' shadows outer variable [shadowVariable] plink-1.07-src/legacy.cpp:432:12: note: Shadowed declaration plink-1.07-src/legacy.cpp:451:28: note: Shadow variable plink-1.07-src/legacy.cpp:1136:18: style: Local variable 'pihat' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:611:28: note: Shadowed declaration plink-1.07-src/legacy.cpp:1136:18: note: Shadow variable plink-1.07-src/legacy.cpp:1134:58: performance: Function parameter 'IBDg' should be passed by const reference. [passedByValue] plink-1.07-src/legacy.cpp:753:63: style: Parameter 'ph' can be declared as reference to const [constParameterReference] plink-1.07-src/legacy.cpp:1134:51: style: Parameter 'IBD' can be declared as reference to const [constParameterReference] plink-1.07-src/legacy.cpp:262:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/legacy.cpp:310:20: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] plink-1.07-src/legacy.cpp:311:20: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] plink-1.07-src/legacy.cpp:56:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:57:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:58:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:59:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:234:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:235:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:236:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/legacy.cpp:237:2: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/linear.cpp:250:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/linear.cpp:464:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/linear.cpp:23:14: warning: Member variable 'LinearModel::chisq' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/linear.cpp:23:14: warning: Member variable 'LinearModel::varY' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/linear.cpp:23:14: warning: Member variable 'LinearModel::meanY' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/linear.cpp:534:14: style: Variable 'multiplier' is reassigned a value before the old one has been used. [redundantAssignment] plink-1.07-src/linear.cpp:532:16: note: multiplier is assigned plink-1.07-src/linear.cpp:534:14: note: multiplier is overwritten plink-1.07-src/linear.cpp:554:14: style: Variable 'multiplier' is reassigned a value before the old one has been used. [redundantAssignment] plink-1.07-src/linear.cpp:552:16: note: multiplier is assigned plink-1.07-src/linear.cpp:554:14: note: multiplier is overwritten plink-1.07-src/linear.cpp:76:10: style: The scope of the variable 'big' can be reduced. [variableScope] plink-1.07-src/linear.cpp:76:18: style: The scope of the variable 'pivinv' can be reduced. [variableScope] plink-1.07-src/linear.cpp:126:10: style: The scope of the variable 'ym' can be reduced. [variableScope] plink-1.07-src/linear.cpp:126:16: style: The scope of the variable 'sum' can be reduced. [variableScope] plink-1.07-src/linear.cpp:126:20: style: The scope of the variable 'sig2i' can be reduced. [variableScope] plink-1.07-src/linear.cpp:288:26: style: The scope of the variable 'sum' can be reduced. [variableScope] plink-1.07-src/linear.cpp:364:12: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:364:12: note: Shadow variable plink-1.07-src/linear.cpp:365:14: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:365:14: note: Shadow variable plink-1.07-src/linear.cpp:393:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:393:16: note: Shadow variable plink-1.07-src/linear.cpp:396:13: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:396:13: note: Shadow variable plink-1.07-src/linear.cpp:403:16: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:403:16: note: Shadow variable plink-1.07-src/linear.cpp:404:11: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:404:11: note: Shadow variable plink-1.07-src/linear.cpp:416:14: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:416:14: note: Shadow variable plink-1.07-src/linear.cpp:419:14: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:419:14: note: Shadow variable plink-1.07-src/linear.cpp:422:11: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:422:11: note: Shadow variable plink-1.07-src/linear.cpp:426:11: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:426:11: note: Shadow variable plink-1.07-src/linear.cpp:434:17: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:7: note: Shadowed declaration plink-1.07-src/linear.cpp:434:17: note: Shadow variable plink-1.07-src/linear.cpp:435:12: style: Local variable 'j' shadows outer variable [shadowVariable] plink-1.07-src/linear.cpp:286:9: note: Shadowed declaration plink-1.07-src/linear.cpp:435:12: note: Shadow variable plink-1.07-src/linear.cpp:595:14: style: Local variable 'se' shadows outer variable [shadowVariable] plink-1.07-src/linear.h:58:18: note: Shadowed declaration plink-1.07-src/linear.cpp:595:14: note: Shadow variable plink-1.07-src/linear.cpp:738:14: style: Local variable 'se' shadows outer variable [shadowVariable] plink-1.07-src/linear.h:58:18: note: Shadowed declaration plink-1.07-src/linear.cpp:738:14: note: Shadow variable plink-1.07-src/linear.cpp:56:45: style: Parameter 'ia' can be declared as reference to const [constParameterReference] plink-1.07-src/linear.cpp:122:21: style: Parameter 'x' can be declared as reference to const [constParameterReference] plink-1.07-src/linear.cpp:122:34: style: Parameter 'y' can be declared as reference to const [constParameterReference] plink-1.07-src/linear.cpp:122:47: style: Parameter 'sig' can be declared as reference to const [constParameterReference] plink-1.07-src/linear.cpp:123:66: style: Parameter 'X' can be declared as reference to const [constParameterReference] plink-1.07-src/linear.cpp:130:17: style: Variable 'afunc' is assigned a value that is never used. [unreadVariable] plink-1.07-src/linear.cpp:290:25: style: Variable 'afunc' is assigned a value that is never used. [unreadVariable] plink-1.07-src/linear.cpp:734:13: style: Variable 'okay' is assigned a value that is never used. [unreadVariable] plink-1.07-src/linput.cpp:73:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/linput.cpp:282:15: style: Condition 'a==0' is always true [knownConditionTrueFalse] plink-1.07-src/linput.cpp:271:10: note: Assuming that condition 'a<0' is not redundant plink-1.07-src/linput.cpp:275:15: note: Assuming that condition 'a==1' is not redundant plink-1.07-src/linput.cpp:282:15: note: Condition 'a==0' is always true plink-1.07-src/linput.cpp:307:6: style: The scope of the variable 'ip' can be reduced. [variableScope] plink-1.07-src/linput.cpp:164:17: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/linput.cpp:148:33: note: Shadowed declaration plink-1.07-src/linput.cpp:164:17: note: Shadow variable plink-1.07-src/locus.cpp:20:67: performance: Function parameter 'I' should be passed by const reference. [passedByValue] plink-1.07-src/logistic.cpp:85:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/logistic.cpp:24:16: warning: Member variable 'LogisticModel::chisq' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/logistic.h:40:10: style:inconclusive: Technically the member function 'LogisticModel::getLnLk' can be const. [functionConst] plink-1.07-src/logistic.cpp:349:23: note: Technically the member function 'LogisticModel::getLnLk' can be const. plink-1.07-src/logistic.h:40:10: note: Technically the member function 'LogisticModel::getLnLk' can be const. plink-1.07-src/logistic.cpp:250:12: style: Local variable 'p' shadows outer variable [shadowVariable] plink-1.07-src/logistic.h:48:12: note: Shadowed declaration plink-1.07-src/logistic.cpp:250:12: note: Shadow variable plink-1.07-src/logistic.cpp:327:13: style: Variable 'okay' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lookup.cpp:54:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/lookup.cpp:38:20: style: The scope of the variable 'gene_list' can be reduced. [variableScope] plink-1.07-src/lookup.cpp:47:12: style: Variable 'query' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lookup.cpp:121:14: style: Variable 'query' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lookup.cpp:203:8: style: Variable 'totalSNPs' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lookup.cpp:204:8: style: Variable 'gcount' is assigned a value that is never used. [unreadVariable] plink-1.07-src/lookup2.cpp:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] plink-1.07-src/lookup2.cpp:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] plink-1.07-src/lookup2.cpp:158:14: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/lookup2.cpp:158:14: note: Shadow variable plink-1.07-src/lookup2.cpp:199:14: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/lookup2.cpp:199:14: note: Shadow variable plink-1.07-src/lookup2.cpp:277:14: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/lookup2.cpp:277:14: note: Shadow variable plink-1.07-src/lookup2.cpp:30:29: performance: Function parameter 'pquery' should be passed by const reference. [passedByValue] plink-1.07-src/mds.cpp:311:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/mds.cpp:242:13: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] plink-1.07-src/mds.cpp:271:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/merge.cpp:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/merge.cpp:259:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/merge.cpp:594:11: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/merge.cpp:546:11: note: First condition plink-1.07-src/merge.cpp:594:11: note: Second condition plink-1.07-src/merge.cpp:505:14: style: Local variable 'phenotype' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:621:18: note: Shadowed declaration plink-1.07-src/merge.cpp:505:14: note: Shadow variable plink-1.07-src/merge.cpp:765:33: style: Local variable 'ilocus' shadows outer variable [shadowVariable] plink-1.07-src/merge.cpp:151:29: note: Shadowed declaration plink-1.07-src/merge.cpp:765:33: note: Shadow variable plink-1.07-src/merge.cpp:533:18: warning: Either the condition 'isample!=msample.end()' is redundant or there is possible dereference of an invalid iterator: isample. [derefInvalidIteratorRedundantCheck] plink-1.07-src/merge.cpp:534:20: note: Assuming that condition 'isample!=msample.end()' is not redundant plink-1.07-src/merge.cpp:533:18: note: Dereference of an invalid iterator plink-1.07-src/merge.cpp:1103:7: error: Uninitialized variable: write [legacyUninitvar] plink-1.07-src/merge.cpp:604:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/merge.cpp:767:70: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/metaanal.cpp:163:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/metaanal.cpp:44:10: style:inconclusive: Member variable 'Alleles::a1' is in the wrong place in the initializer list. [initializerList] plink-1.07-src/metaanal.cpp:62:37: note: Member variable 'Alleles::a1' is in the wrong place in the initializer list. plink-1.07-src/metaanal.cpp:44:10: note: Member variable 'Alleles::a1' is in the wrong place in the initializer list. plink-1.07-src/metaanal.cpp:51:8: performance: Variable 'a2' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/metaanal.cpp:58:8: performance: Variable 'a2' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/metaanal.cpp:49:3: style: Class 'Alleles' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plink-1.07-src/metaanal.cpp:121:18: style: The scope of the variable 'n1' can be reduced. [variableScope] plink-1.07-src/metaanal.cpp:122:18: style: The scope of the variable 'n2' can be reduced. [variableScope] plink-1.07-src/metaanal.cpp:253:11: style: The scope of the variable 'pval_column' can be reduced. [variableScope] plink-1.07-src/metaanal.cpp:298:19: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/metaanal.cpp:249:22: note: Shadowed declaration plink-1.07-src/metaanal.cpp:298:19: note: Shadow variable plink-1.07-src/metaanal.cpp:494:11: style: Local variable 'n' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:562:7: note: Shadowed declaration plink-1.07-src/metaanal.cpp:494:11: note: Shadow variable plink-1.07-src/metaanal.cpp:203:18: warning:inconclusive: Found suspicious equality comparison. Did you intend to assign a value instead? [constStatement] plink-1.07-src/metaanal.cpp:49:18: performance: Function parameter 'name' should be passed by const reference. [passedByValue] plink-1.07-src/metaanal.cpp:61:59: performance: Function parameter 'a2' should be passed by const reference. [passedByValue] plink-1.07-src/metaanal.cpp:64:23: performance: Function parameter 'b1' should be passed by const reference. [passedByValue] plink-1.07-src/metaanal.cpp:64:34: performance: Function parameter 'b2' should be passed by const reference. [passedByValue] plink-1.07-src/metaanal.cpp:70:20: performance: Function parameter 'b1' should be passed by const reference. [passedByValue] plink-1.07-src/phase.h:148:8: style:inconclusive: Technically the member function 'HaploPhase::makeWaplotype' can be const. [functionConst] plink-1.07-src/metaem.cpp:36:18: note: Technically the member function 'HaploPhase::makeWaplotype' can be const. plink-1.07-src/phase.h:148:8: note: Technically the member function 'HaploPhase::makeWaplotype' can be const. plink-1.07-src/metaem.cpp:225:10: style: Condition 'firstSkipped' is always false [knownConditionTrueFalse] plink-1.07-src/metaem.cpp:207:24: note: Assignment 'firstSkipped=false', assigned value is 0 plink-1.07-src/metaem.cpp:225:10: note: Condition 'firstSkipped' is always false plink-1.07-src/metaem.cpp:36:70: style: Parameter 'wMax' can be declared as reference to const [constParameterReference] plink-1.07-src/mh.cpp:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/mh.cpp:232:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/mh.cpp:858:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/mh.cpp:696:64: style: Condition 'X.size()!=Z.size()' is always false [knownConditionTrueFalse] plink-1.07-src/mh.cpp:696:40: note: Assuming that condition 'Y.size()!=Z.size()' is not redundant plink-1.07-src/mh.cpp:696:16: note: Assuming that condition 'X.size()!=Y.size()' is not redundant plink-1.07-src/mh.cpp:696:64: note: Condition 'X.size()!=Z.size()' is always false plink-1.07-src/mh.cpp:1197:64: style: Condition 'X.size()!=Z.size()' is always false [knownConditionTrueFalse] plink-1.07-src/mh.cpp:1197:40: note: Assuming that condition 'Y.size()!=Z.size()' is not redundant plink-1.07-src/mh.cpp:1197:16: note: Assuming that condition 'X.size()!=Y.size()' is not redundant plink-1.07-src/mh.cpp:1197:64: note: Condition 'X.size()!=Z.size()' is always false plink-1.07-src/mh.cpp:114:34: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/mh.cpp:43:33: note: Shadowed declaration plink-1.07-src/mh.cpp:114:34: note: Shadow variable plink-1.07-src/mh.cpp:207:55: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/mh.cpp:328:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/mh.cpp:963:17: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/mh.cpp:1279:22: style: Variable 'U[k][ix+iy*(nx-1)]' is assigned a value that is never used. [unreadVariable] plink-1.07-src/mh.cpp:48:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:124:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:125:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:126:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:151:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:152:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:153:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:177:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:178:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:179:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:197:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:227:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:285:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:352:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:353:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:354:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:392:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:393:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:394:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:429:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:430:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:431:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:468:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:469:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:470:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:487:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:488:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:489:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:677:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:911:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:996:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:997:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:998:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1026:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1027:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1028:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1039:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1040:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1041:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mh.cpp:1175:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:41:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/mishap.cpp:270:31: style: Local variable 'i1' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:100:30: note: Shadowed declaration plink-1.07-src/mishap.cpp:270:31: note: Shadow variable plink-1.07-src/mishap.cpp:204:18: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:99:37: note: Shadowed declaration plink-1.07-src/mishap.cpp:204:18: note: Shadow variable plink-1.07-src/mishap.cpp:212:29: style: Local variable 'i1' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:100:30: note: Shadowed declaration plink-1.07-src/mishap.cpp:212:29: note: Shadow variable plink-1.07-src/mishap.cpp:213:29: style: Local variable 'i2' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:101:30: note: Shadowed declaration plink-1.07-src/mishap.cpp:213:29: note: Shadow variable plink-1.07-src/mishap.cpp:239:29: style: Local variable 'i1' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:100:30: note: Shadowed declaration plink-1.07-src/mishap.cpp:239:29: note: Shadow variable plink-1.07-src/mishap.cpp:240:29: style: Local variable 'i2' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:101:30: note: Shadowed declaration plink-1.07-src/mishap.cpp:240:29: note: Shadow variable plink-1.07-src/mishap.cpp:298:17: style: Local variable 'h' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:172:16: note: Shadowed declaration plink-1.07-src/mishap.cpp:298:17: note: Shadow variable plink-1.07-src/mishap.cpp:306:17: style: Local variable 'h' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:172:16: note: Shadowed declaration plink-1.07-src/mishap.cpp:306:17: note: Shadow variable plink-1.07-src/mishap.cpp:344:17: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/mishap.cpp:99:37: note: Shadowed declaration plink-1.07-src/mishap.cpp:344:17: note: Shadow variable plink-1.07-src/mishap.cpp:204:18: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/mishap.cpp:344:17: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/mishap.cpp:90:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:119:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:120:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:121:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:130:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:275:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/mishap.cpp:452:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/model.cpp:402:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/model.cpp:426:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/model.cpp:585:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/model.cpp:22:8: warning: Member variable 'Model::P' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/model.cpp:22:8: warning: Member variable 'Model::skip' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/model.cpp:22:8: warning: Member variable 'Model::cluster' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/model.cpp:22:8: warning: Member variable 'Model::nc' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/model.h:41:16: style:inconclusive: Technically the member function 'Model::getMissing' can be const. [functionConst] plink-1.07-src/model.cpp:118:21: note: Technically the member function 'Model::getMissing' can be const. plink-1.07-src/model.h:41:16: note: Technically the member function 'Model::getMissing' can be const. plink-1.07-src/model.h:43:8: performance:inconclusive: Technically the member function 'Model::yokeMissing' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/model.cpp:123:13: note: Technically the member function 'Model::yokeMissing' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:43:8: note: Technically the member function 'Model::yokeMissing' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:53:8: style:inconclusive: Technically the member function 'Model::isSexInModel' can be const. [functionConst] plink-1.07-src/model.cpp:94:13: note: Technically the member function 'Model::isSexInModel' can be const. plink-1.07-src/model.h:53:8: note: Technically the member function 'Model::isSexInModel' can be const. plink-1.07-src/model.h:60:10: style:inconclusive: Technically the member function 'Model::getStatistic' can be const. [functionConst] plink-1.07-src/model.cpp:462:15: note: Technically the member function 'Model::getStatistic' can be const. plink-1.07-src/model.h:60:10: note: Technically the member function 'Model::getStatistic' can be const. plink-1.07-src/model.h:114:10: performance:inconclusive: Technically the member function 'Model::buildIntercept' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/model.cpp:633:15: note: Technically the member function 'Model::buildIntercept' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:114:10: note: Technically the member function 'Model::buildIntercept' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:118:10: performance:inconclusive: Technically the member function 'Model::buildSex' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/model.cpp:803:15: note: Technically the member function 'Model::buildSex' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:118:10: note: Technically the member function 'Model::buildSex' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:119:10: style:inconclusive: Technically the member function 'Model::buildCovariate' can be const. [functionConst] plink-1.07-src/model.cpp:817:15: note: Technically the member function 'Model::buildCovariate' can be const. plink-1.07-src/model.h:119:10: note: Technically the member function 'Model::buildCovariate' can be const. plink-1.07-src/model.h:120:10: style:inconclusive: Technically the member function 'Model::buildInteraction' can be const. [functionConst] plink-1.07-src/model.cpp:827:15: note: Technically the member function 'Model::buildInteraction' can be const. plink-1.07-src/model.h:120:10: note: Technically the member function 'Model::buildInteraction' can be const. plink-1.07-src/model.h:121:10: performance:inconclusive: Technically the member function 'Model::buildQFAM' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/model.cpp:836:15: note: Technically the member function 'Model::buildQFAM' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:121:10: note: Technically the member function 'Model::buildQFAM' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/model.h:41:16: performance: Function 'getMissing()' should return member 'miss' by const reference. [returnByReference] plink-1.07-src/model.cpp:491:7: style: Local variable 'nc' shadows outer variable [shadowVariable] plink-1.07-src/model.h:156:7: note: Shadowed declaration plink-1.07-src/model.cpp:491:7: note: Shadow variable plink-1.07-src/model.cpp:128:39: style: Parameter 'include' can be declared as reference to const [constParameterReference] plink-1.07-src/model.cpp:479:43: style: Parameter 'H' can be declared as reference to const [constParameterReference] plink-1.07-src/model.cpp:479:57: style: Parameter 'h' can be declared as reference to const [constParameterReference] plink-1.07-src/model.cpp:827:71: style: Parameter 'trow' can be declared as reference to const [constParameterReference] plink-1.07-src/model.cpp:123:33: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] plink-1.07-src/model.cpp:803:37: style: Parameter 'person' can be declared as pointer to const [constParameterPointer] plink-1.07-src/model.cpp:827:45: style: Parameter 'person' can be declared as pointer to const [constParameterPointer] plink-1.07-src/model.cpp:613:17: style: Variable 'maxVIF' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:294:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/multi.cpp:576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/multi.cpp:211:18: style: Local variable 'pihat' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:611:28: note: Shadowed declaration plink-1.07-src/multi.cpp:211:18: note: Shadow variable plink-1.07-src/multi.cpp:282:15: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/multi.cpp:224:10: note: Shadowed declaration plink-1.07-src/multi.cpp:282:15: note: Shadow variable plink-1.07-src/multi.cpp:343:16: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/multi.cpp:224:10: note: Shadowed declaration plink-1.07-src/multi.cpp:343:16: note: Shadow variable plink-1.07-src/multi.cpp:446:15: style: Local variable 'S' shadows outer variable [shadowVariable] plink-1.07-src/multi.cpp:224:10: note: Shadowed declaration plink-1.07-src/multi.cpp:446:15: note: Shadow variable plink-1.07-src/multi.cpp:469:12: style: Local variable 'p1' shadows outer variable [shadowVariable] plink-1.07-src/multi.cpp:375:15: note: Shadowed declaration plink-1.07-src/multi.cpp:469:12: note: Shadow variable plink-1.07-src/multi.cpp:469:16: style: Local variable 'p2' shadows outer variable [shadowVariable] plink-1.07-src/multi.cpp:375:19: note: Shadowed declaration plink-1.07-src/multi.cpp:469:16: note: Shadow variable plink-1.07-src/multi.cpp:148:57: performance: Function parameter 'IBDg' should be passed by const reference. [passedByValue] plink-1.07-src/multi.cpp:148:50: style: Parameter 'IBD' can be declared as reference to const [constParameterReference] plink-1.07-src/multi.cpp:154:16: style: Variable 'is0zero' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:155:16: style: Variable 'is1zero' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:475:12: style: Variable 'n1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:480:12: style: Variable 'n1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:486:12: style: Variable 'n2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multi.cpp:491:12: style: Variable 'n2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/multiple.cpp:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/multiple.cpp:73:51: performance: Function parameter 'title' should be passed by const reference. [passedByValue] plink-1.07-src/multiple.cpp:73:39: style: Parameter 'chi' can be declared as reference to const [constParameterReference] plink-1.07-src/nlist.cpp:45:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] plink-1.07-src/nlist.cpp:85:33: style: Local variable 'im' shadows outer variable [shadowVariable] plink-1.07-src/nlist.cpp:59:29: note: Shadowed declaration plink-1.07-src/nlist.cpp:85:33: note: Shadow variable plink-1.07-src/nlist.cpp:19:48: performance: Function parameter 'input' should be passed by const reference. [passedByValue] plink-1.07-src/nlist.cpp:24:45: performance: Function parameter 'input' should be passed by const reference. [passedByValue] plink-1.07-src/nlist.cpp:54:45: performance: Function parameter 'input' should be passed by const reference. [passedByValue] plink-1.07-src/nlist.cpp:180:39: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/nlist.cpp:163:22: style: Variable 'n2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/nonfounderphasing.cpp:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/phase.h:329:8: style:inconclusive: Technically the member function 'HaploPhase::consistentNonfounderPhaseGivenParents' can be const. [functionConst] plink-1.07-src/nonfounderphasing.cpp:214:18: note: Technically the member function 'HaploPhase::consistentNonfounderPhaseGivenParents' can be const. plink-1.07-src/phase.h:329:8: note: Technically the member function 'HaploPhase::consistentNonfounderPhaseGivenParents' can be const. plink-1.07-src/phase.h:340:8: style:inconclusive: Technically the member function 'HaploPhase::scoreTransmissions' can be const. [functionConst] plink-1.07-src/nonfounderphasing.cpp:783:18: note: Technically the member function 'HaploPhase::scoreTransmissions' can be const. plink-1.07-src/phase.h:340:8: note: Technically the member function 'HaploPhase::scoreTransmissions' can be const. plink-1.07-src/phase.h:354:8: performance:inconclusive: Technically the member function 'HaploPhase::resolveWithKids' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/nonfounderphasing.cpp:247:18: note: Technically the member function 'HaploPhase::resolveWithKids' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/phase.h:354:8: note: Technically the member function 'HaploPhase::resolveWithKids' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/nonfounderphasing.cpp:387:6: style: Local variable 'p1' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:170:7: note: Shadowed declaration plink-1.07-src/nonfounderphasing.cpp:387:6: note: Shadow variable plink-1.07-src/nonfounderphasing.cpp:388:6: style: Local variable 'p2' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:171:7: note: Shadowed declaration plink-1.07-src/nonfounderphasing.cpp:388:6: note: Shadow variable plink-1.07-src/nonfounderphasing.cpp:714:27: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:103:12: note: Shadowed declaration plink-1.07-src/nonfounderphasing.cpp:714:27: note: Shadow variable plink-1.07-src/nonfounderphasing.cpp:722:19: style: Local variable 'p1' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:170:7: note: Shadowed declaration plink-1.07-src/nonfounderphasing.cpp:722:19: note: Shadow variable plink-1.07-src/nonfounderphasing.cpp:722:23: style: Local variable 'p2' shadows outer variable [shadowVariable] plink-1.07-src/phase.h:171:7: note: Shadowed declaration plink-1.07-src/nonfounderphasing.cpp:722:23: note: Shadow variable plink-1.07-src/nonfounderphasing.cpp:33:55: style: Parameter 'pmap' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:137:73: style: Parameter 's1' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:138:24: style: Parameter 's2' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:146:18: style: Variable 't1' can be declared as reference to const [constVariableReference] plink-1.07-src/nonfounderphasing.cpp:147:18: style: Variable 't2' can be declared as reference to const [constVariableReference] plink-1.07-src/nonfounderphasing.cpp:179:78: style: Parameter 's1' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:180:29: style: Parameter 's2' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:189:18: style: Variable 't1' can be declared as reference to const [constVariableReference] plink-1.07-src/nonfounderphasing.cpp:692:42: style: Parameter 'pmap' can be declared as reference to const [constParameterReference] plink-1.07-src/nonfounderphasing.cpp:360:7: style: Variable 'pcnt' is assigned a value that is never used. [unreadVariable] plink-1.07-src/nonfounderphasing.cpp:715:24: style: Variable 'posterior' is assigned a value that is never used. [unreadVariable] plink-1.07-src/nonfounderphasing.cpp:659:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:80:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:193:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:390:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:607:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:675:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:742:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:813:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:905:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:948:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1086:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1222:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1335:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1437:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1501:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1555:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1616:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1788:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1926:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1958:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:1970:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:2363:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/output.cpp:2407:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:728:18: performance:inconclusive: Technically the member function 'Plink::printLOG' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/output.cpp:31:13: note: Technically the member function 'Plink::printLOG' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:728:18: note: Technically the member function 'Plink::printLOG' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/output.cpp:62:43: warning: Possible null pointer dereference: p1 [nullPointer] plink-1.07-src/output.cpp:45:21: note: Assignment 'p1=NULL', assigned value is 0 plink-1.07-src/output.cpp:48:18: note: Assuming condition is false plink-1.07-src/output.cpp:62:43: note: Null pointer dereference plink-1.07-src/output.cpp:133:50: warning: Possible null pointer dereference: p1 [nullPointer] plink-1.07-src/output.cpp:114:21: note: Assignment 'p1=NULL', assigned value is 0 plink-1.07-src/output.cpp:118:18: note: Assuming condition is false plink-1.07-src/output.cpp:133:50: note: Null pointer dereference plink-1.07-src/output.cpp:134:50: warning: Possible null pointer dereference: p2 [nullPointer] plink-1.07-src/output.cpp:115:21: note: Assignment 'p2=NULL', assigned value is 0 plink-1.07-src/output.cpp:118:18: note: Assuming condition is false plink-1.07-src/output.cpp:134:50: note: Null pointer dereference plink-1.07-src/output.cpp:832:8: style: The scope of the variable 'l' can be reduced. [variableScope] plink-1.07-src/output.cpp:921:8: style: The scope of the variable 'l' can be reduced. [variableScope] plink-1.07-src/output.cpp:88:11: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/output.cpp:88:11: note: Shadow variable plink-1.07-src/output.cpp:394:7: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/output.cpp:394:7: note: Shadow variable plink-1.07-src/output.cpp:395:7: style: Local variable 'm2' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:607:15: note: Shadowed declaration plink-1.07-src/output.cpp:395:7: note: Shadow variable plink-1.07-src/output.cpp:550:13: style: Local variable 'nl' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:568:7: note: Shadowed declaration plink-1.07-src/output.cpp:550:13: note: Shadow variable plink-1.07-src/output.cpp:1056:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:945:10: note: Shadowed declaration plink-1.07-src/output.cpp:1056:14: note: Shadow variable plink-1.07-src/output.cpp:1273:16: style: Local variable 'MAP' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:1254:12: note: Shadowed declaration plink-1.07-src/output.cpp:1273:16: note: Shadow variable plink-1.07-src/output.cpp:1622:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:1614:10: note: Shadowed declaration plink-1.07-src/output.cpp:1622:14: note: Shadow variable plink-1.07-src/output.cpp:2084:18: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:2036:13: note: Shadowed declaration plink-1.07-src/output.cpp:2084:18: note: Shadow variable plink-1.07-src/output.cpp:2101:13: style: Local variable 'ch' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:2037:8: note: Shadowed declaration plink-1.07-src/output.cpp:2101:13: note: Shadow variable plink-1.07-src/output.cpp:2135:18: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:2036:13: note: Shadowed declaration plink-1.07-src/output.cpp:2135:18: note: Shadow variable plink-1.07-src/output.cpp:2149:13: style: Local variable 'ch' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:2037:8: note: Shadowed declaration plink-1.07-src/output.cpp:2149:13: note: Shadow variable plink-1.07-src/output.cpp:2275:18: style: Local variable 'thisRange' shadows outer variable [shadowVariable] plink-1.07-src/output.cpp:2249:21: note: Shadowed declaration plink-1.07-src/output.cpp:2275:18: note: Shadow variable plink-1.07-src/output.cpp:31:29: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/output.cpp:285:43: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/output.cpp:45:16: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:957:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1193:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1304:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1586:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1668:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1940:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:1975:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/output.cpp:693:21: warning: Either the condition 's.size()==1' is redundant or size of 's' can be 1. Expression 's[1]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/output.cpp:687:21: note: Assuming that condition 's.size()==1' is not redundant plink-1.07-src/output.cpp:693:21: note: Access out of bounds plink-1.07-src/output.cpp:401:43: warning: Either the condition 'm2<0' is redundant or there is possible dereference of an invalid iterator: SNP.begin()+m2. [derefInvalidIteratorRedundantCheck] plink-1.07-src/output.cpp:398:9: note: Assuming that condition 'm2<0' is not redundant plink-1.07-src/output.cpp:401:43: note: Dereference of an invalid iterator plink-1.07-src/output.cpp:403:48: warning: Either the condition 'm2<0' is redundant or there is possible dereference of an invalid iterator: locus.begin()+m2. [derefInvalidIteratorRedundantCheck] plink-1.07-src/output.cpp:398:9: note: Assuming that condition 'm2<0' is not redundant plink-1.07-src/output.cpp:403:48: note: Dereference of an invalid iterator plink-1.07-src/output.cpp:406:34: warning: Either the condition 'm2<0' is redundant or there is possible dereference of an invalid iterator: sb. [derefInvalidIteratorRedundantCheck] plink-1.07-src/output.cpp:398:9: note: Assuming that condition 'm2<0' is not redundant plink-1.07-src/output.cpp:401:43: note: Assignment 'sb=SNP.begin()+m2', assigned value is start=-1 plink-1.07-src/output.cpp:406:34: note: Dereference of an invalid iterator plink-1.07-src/output.cpp:407:34: warning: Either the condition 'm2<0' is redundant or there is possible dereference of an invalid iterator: sb. [derefInvalidIteratorRedundantCheck] plink-1.07-src/output.cpp:398:9: note: Assuming that condition 'm2<0' is not redundant plink-1.07-src/output.cpp:401:43: note: Assignment 'sb=SNP.begin()+m2', assigned value is start=-1 plink-1.07-src/output.cpp:407:34: note: Dereference of an invalid iterator plink-1.07-src/output.cpp:69:32: warning: Uninitialized variable: i1 [uninitvar] plink-1.07-src/output.cpp:48:18: note: Assuming condition is false plink-1.07-src/output.cpp:69:32: note: Uninitialized variable: i1 plink-1.07-src/output.cpp:144:61: warning: Uninitialized variable: i1 [uninitvar] plink-1.07-src/output.cpp:118:18: note: Assuming condition is false plink-1.07-src/output.cpp:144:61: note: Uninitialized variable: i1 plink-1.07-src/output.cpp:145:61: warning: Uninitialized variable: i2 [uninitvar] plink-1.07-src/output.cpp:118:18: note: Assuming condition is false plink-1.07-src/output.cpp:145:61: note: Uninitialized variable: i2 plink-1.07-src/output.cpp:402:28: style: Variable 'loc1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/output.cpp:403:28: style: Variable 'loc2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/output.cpp:788:17: style: Variable 'n_removed' is assigned a value that is never used. [unreadVariable] plink-1.07-src/output.cpp:1224:10: style: Variable 'missingCode' is assigned a value that is never used. [unreadVariable] plink-1.07-src/output.cpp:215:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:216:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:217:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:233:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:234:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:235:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:251:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:252:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:253:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:269:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:270:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:271:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:277:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:278:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:458:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:459:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:460:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:461:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:462:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2091:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2095:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2108:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2142:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2145:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/output.cpp:2156:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/parse.cpp:487:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/parse.cpp:168:26: warning: Conversion of string literal "dump_subtable" to bool always evaluates to true. [incorrectStringBooleanError] plink-1.07-src/pdriver.cpp:63:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/pdriver.cpp:266:11: style: Variable 'similar' is assigned a value that is never used. [unreadVariable] plink-1.07-src/perm.cpp:49:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/perm.cpp:290:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/perm.cpp:23:7: warning: Member variable 'Perm::t' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/perm.cpp:23:7: warning: Member variable 'Perm::genedrop' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/perm.cpp:23:7: warning: Member variable 'Perm::zt' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/perm.cpp:23:7: warning: Member variable 'Perm::ns' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/perm.h:83:23: performance:inconclusive: Technically the member function 'Perm::setAdaptiveSetSNPs' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/perm.cpp:99:12: note: Technically the member function 'Perm::setAdaptiveSetSNPs' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/perm.h:83:23: note: Technically the member function 'Perm::setAdaptiveSetSNPs' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/perm.h:87:23: style:inconclusive: Technically the member function 'Perm::finished' can be const. [functionConst] plink-1.07-src/perm.cpp:113:12: note: Technically the member function 'Perm::finished' can be const. plink-1.07-src/perm.h:87:23: note: Technically the member function 'Perm::finished' can be const. plink-1.07-src/perm.h:93:23: style:inconclusive: Technically the member function 'Perm::reps_done' can be const. [functionConst] plink-1.07-src/perm.cpp:549:11: note: Technically the member function 'Perm::reps_done' can be const. plink-1.07-src/perm.h:93:23: note: Technically the member function 'Perm::reps_done' can be const. plink-1.07-src/perm.h:94:23: style:inconclusive: Technically the member function 'Perm::pvalue' can be const. [functionConst] plink-1.07-src/perm.cpp:530:14: note: Technically the member function 'Perm::pvalue' can be const. plink-1.07-src/perm.h:94:23: note: Technically the member function 'Perm::pvalue' can be const. plink-1.07-src/perm.h:95:23: style:inconclusive: Technically the member function 'Perm::max_pvalue' can be const. [functionConst] plink-1.07-src/perm.cpp:541:14: note: Technically the member function 'Perm::max_pvalue' can be const. plink-1.07-src/perm.h:95:23: note: Technically the member function 'Perm::max_pvalue' can be const. plink-1.07-src/perm.h:96:23: style:inconclusive: Technically the member function 'Perm::rank' can be const. [functionConst] plink-1.07-src/perm.cpp:521:11: note: Technically the member function 'Perm::rank' can be const. plink-1.07-src/perm.h:96:23: note: Technically the member function 'Perm::rank' can be const. plink-1.07-src/perm.cpp:237:7: style: The scope of the variable 'todo' can be reduced. [variableScope] plink-1.07-src/perm.cpp:184:42: style: Parameter 'original' can be declared as reference to const [constParameterReference] plink-1.07-src/perm.cpp:208:61: style: Parameter 'original' can be declared as reference to const [constParameterReference] plink-1.07-src/phase.cpp:73:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] plink-1.07-src/phase.cpp:792:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/phase.h:246:12: performance:inconclusive: Technically the member function 'HaploPhase::makeSetFromMap' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/phase.cpp:1854:22: note: Technically the member function 'HaploPhase::makeSetFromMap' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/phase.h:246:12: note: Technically the member function 'HaploPhase::makeSetFromMap' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/phase.cpp:1705:20: style: The scope of the variable 'tests' can be reduced. [variableScope] plink-1.07-src/phase.cpp:477:16: style: Local variable 's' shadows outer argument [shadowArgument] plink-1.07-src/phase.cpp:446:52: note: Shadowed declaration plink-1.07-src/phase.cpp:477:16: note: Shadow variable plink-1.07-src/phase.cpp:498:12: style: Local variable 'h' shadows outer variable [shadowVariable] plink-1.07-src/phase.cpp:470:16: note: Shadowed declaration plink-1.07-src/phase.cpp:498:12: note: Shadow variable plink-1.07-src/phase.cpp:501:16: style: Local variable 's' shadows outer argument [shadowArgument] plink-1.07-src/phase.cpp:446:52: note: Shadowed declaration plink-1.07-src/phase.cpp:501:16: note: Shadow variable plink-1.07-src/phase.cpp:914:16: style: Local variable 'w' shadows outer variable [shadowVariable] plink-1.07-src/phase.cpp:625:11: note: Shadowed declaration plink-1.07-src/phase.cpp:914:16: note: Shadow variable plink-1.07-src/phase.cpp:1441:13: style: Local variable 'cnt_phase' shadows outer variable [shadowVariable] plink-1.07-src/phase.cpp:1103:12: note: Shadowed declaration plink-1.07-src/phase.cpp:1441:13: note: Shadow variable plink-1.07-src/phase.cpp:1442:13: style: Local variable 'cnt_hap' shadows outer variable [shadowVariable] plink-1.07-src/phase.cpp:1104:12: note: Shadowed declaration plink-1.07-src/phase.cpp:1442:13: note: Shadow variable plink-1.07-src/phase.cpp:1443:13: style: Local variable 'cnt_ambig' shadows outer variable [shadowVariable] plink-1.07-src/phase.cpp:1105:12: note: Shadowed declaration plink-1.07-src/phase.cpp:1443:13: note: Shadow variable plink-1.07-src/phase.cpp:446:52: style: Parameter 's' can be declared as reference to const [constParameterReference] plink-1.07-src/phase.cpp:138:21: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/plink.cpp:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.cpp:1845:11: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] plink-1.07-src/plink.cpp:1847:6: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/plink.cpp:1845:11: note: Found duplicate branches for 'if' and 'else'. plink-1.07-src/plink.cpp:867:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/plink.cpp:1436:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/poo.cpp:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/poo.cpp:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/poo.cpp:49:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/poo.cpp:49:18: note: Shadow variable plink-1.07-src/poo.cpp:288:14: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/poo.cpp:288:14: note: Shadow variable plink-1.07-src/poo.cpp:289:14: style: Local variable 'm2' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:607:15: note: Shadowed declaration plink-1.07-src/poo.cpp:289:14: note: Shadow variable plink-1.07-src/poo.cpp:228:14: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/poo.cpp:229:22: style: Parameter 'flipA' can be declared as reference to const [constParameterReference] plink-1.07-src/poo.cpp:230:22: style: Parameter 'flipB' can be declared as reference to const [constParameterReference] plink-1.07-src/poo.cpp:472:41: style: Variable 'tot_chisq' is assigned a value that is never used. [unreadVariable] plink-1.07-src/poo.cpp:486:12: style: Variable 'tot_chisq' is assigned a value that is never used. [unreadVariable] plink-1.07-src/poo.cpp:239:10: style: Unused variable: zt [unusedVariable] plink-1.07-src/prephap.cpp:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/prephap.cpp:535:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] plink-1.07-src/prephap.cpp:214:12: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/prephap.cpp:212:12: note: First condition plink-1.07-src/prephap.cpp:214:12: note: Second condition plink-1.07-src/prephap.cpp:514:43: performance: Function parameter 'winspec' should be passed by const reference. [passedByValue] plink-1.07-src/prephap.cpp:670:41: performance: Function parameter 'snps' should be passed by const reference. [passedByValue] plink-1.07-src/profile.cpp:62:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/profile.cpp:525:9: style: The scope of the variable 'sawNamedAllele' can be reduced. [variableScope] plink-1.07-src/profile.cpp:112:14: style: Local variable 'suffix' shadows outer variable [shadowVariable] plink-1.07-src/profile.cpp:47:10: note: Shadowed declaration plink-1.07-src/profile.cpp:112:14: note: Shadow variable plink-1.07-src/profile.cpp:357:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/profile.cpp:264:10: note: Shadowed declaration plink-1.07-src/profile.cpp:357:14: note: Shadow variable plink-1.07-src/profile.cpp:383:16: style: Local variable 'PROFOUT' shadows outer variable [shadowVariable] plink-1.07-src/profile.cpp:263:12: note: Shadowed declaration plink-1.07-src/profile.cpp:383:16: note: Shadow variable plink-1.07-src/profile.cpp:384:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/profile.cpp:264:10: note: Shadowed declaration plink-1.07-src/profile.cpp:384:14: note: Shadow variable plink-1.07-src/profile.cpp:485:9: style: Local variable 'missingGenotype' shadows outer function [shadowFunction] plink-1.07-src/plink.h:765:18: note: Shadowed declaration plink-1.07-src/profile.cpp:485:9: note: Shadow variable plink-1.07-src/profile.cpp:608:27: style: Local variable 'i2' shadows outer variable [shadowVariable] plink-1.07-src/profile.cpp:466:31: note: Shadowed declaration plink-1.07-src/profile.cpp:608:27: note: Shadow variable plink-1.07-src/profile.cpp:428:48: style: Parameter 'scores' can be declared as reference to const [constParameterReference] plink-1.07-src/profile.cpp:429:25: style: Parameter 'allele1' can be declared as reference to const [constParameterReference] plink-1.07-src/profile.cpp:276:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/profile.cpp:396:17: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/profile.cpp:657:16: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/profile.cpp:322:16: error: Out of bounds access in expression 'clistname[testTerm]' because 'clistname' is empty. [containerOutOfBounds] plink-1.07-src/profile.cpp:309:27: note: Assignment 'clist_number=0', assigned value is 0 plink-1.07-src/profile.cpp:319:40: note: Assignment 'testTerm=par::clist_number-1', assigned value is -1 plink-1.07-src/profile.cpp:319:20: note: testTerm is assigned 'par::clist_number-1' here. plink-1.07-src/profile.cpp:322:16: note: Access out of bounds plink-1.07-src/profile.cpp:322:7: error: Array index -1 is out of bounds. [negativeContainerIndex] plink-1.07-src/profile.cpp:309:27: note: Assignment 'clist_number=0', assigned value is 0 plink-1.07-src/profile.cpp:319:40: note: Assignment 'testTerm=par::clist_number-1', assigned value is -1 plink-1.07-src/profile.cpp:322:7: note: Negative array index plink-1.07-src/profile.cpp:328:13: error: Array index -1 is out of bounds. [negativeContainerIndex] plink-1.07-src/profile.cpp:309:27: note: Assignment 'clist_number=0', assigned value is 0 plink-1.07-src/profile.cpp:319:40: note: Assignment 'testTerm=par::clist_number-1', assigned value is -1 plink-1.07-src/profile.cpp:328:13: note: Negative array index plink-1.07-src/profile.cpp:232:13: style: Variable 'problems' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:303:43: style: Variable 'OLD_assoc_glm_without_main_snp' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:304:22: style: Variable 'OLD_clist' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:345:21: style: Variable 'chisq' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:350:24: style: Variable 'statistic' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:351:21: style: Variable 'pvalue' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:352:19: style: Variable 'beta' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:298:16: style: Unused variable: results [unusedVariable] plink-1.07-src/profile.cpp:340:16: style: Unused variable: OUTF [unusedVariable] plink-1.07-src/profile.cpp:525:24: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:540:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:549:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:564:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:570:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:579:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/profile.cpp:585:21: style: Variable 'sawNamedAllele' is assigned a value that is never used. [unreadVariable] plink-1.07-src/proxy.cpp:188:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/proxy.cpp:905:28: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/proxy.cpp:896:29: note: First condition plink-1.07-src/proxy.cpp:905:28: note: Second condition plink-1.07-src/proxy.cpp:1004:63: style: C-style pointer casting [cstyleCast] plink-1.07-src/proxy.cpp:1123:60: style: C-style pointer casting [cstyleCast] plink-1.07-src/proxy.cpp:1265:62: style: C-style pointer casting [cstyleCast] plink-1.07-src/proxy.cpp:1553:60: style: C-style pointer casting [cstyleCast] plink-1.07-src/proxy.cpp:1190:13: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/proxy.cpp:1190:13: note: Shadow variable plink-1.07-src/proxy.cpp:1195:13: style: Local variable 'm2' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:607:15: note: Shadowed declaration plink-1.07-src/proxy.cpp:1195:13: note: Shadow variable plink-1.07-src/proxy.cpp:477:9: style: Local variable 'cnt' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:421:7: note: Shadowed declaration plink-1.07-src/proxy.cpp:477:9: note: Shadow variable plink-1.07-src/proxy.cpp:550:11: style: Local variable 'cnt' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:421:7: note: Shadowed declaration plink-1.07-src/proxy.cpp:550:11: note: Shadow variable plink-1.07-src/proxy.cpp:568:17: style: Local variable 'm1' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:606:15: note: Shadowed declaration plink-1.07-src/proxy.cpp:568:17: note: Shadow variable plink-1.07-src/proxy.cpp:596:11: style: Local variable 'cnt' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:421:7: note: Shadowed declaration plink-1.07-src/proxy.cpp:596:11: note: Shadow variable plink-1.07-src/proxy.cpp:603:11: style: Local variable 'a1' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:570:17: note: Shadowed declaration plink-1.07-src/proxy.cpp:603:11: note: Shadow variable plink-1.07-src/proxy.cpp:629:11: style: Local variable 'i1' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:573:30: note: Shadowed declaration plink-1.07-src/proxy.cpp:629:11: note: Shadow variable plink-1.07-src/proxy.cpp:922:17: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:169:10: note: Shadowed declaration plink-1.07-src/proxy.cpp:922:17: note: Shadow variable plink-1.07-src/proxy.cpp:1394:16: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:169:10: note: Shadowed declaration plink-1.07-src/proxy.cpp:1394:16: note: Shadow variable plink-1.07-src/proxy.cpp:1432:17: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:169:10: note: Shadowed declaration plink-1.07-src/proxy.cpp:1432:17: note: Shadow variable plink-1.07-src/proxy.cpp:1525:14: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/proxy.cpp:1375:12: note: Shadowed declaration plink-1.07-src/proxy.cpp:1525:14: note: Shadow variable plink-1.07-src/proxy.cpp:169:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] plink-1.07-src/proxy.cpp:169:10: style: Variable 's' is assigned a value that is never used. [unreadVariable] plink-1.07-src/proxy.cpp:1448:12: style: Variable 't1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/proxy.cpp:1609:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qfam.cpp:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/qfam.cpp:290:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/qfam.cpp:456:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/qfam.cpp:315:12: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/qfam.cpp:274:10: note: Shadowed declaration plink-1.07-src/qfam.cpp:315:12: note: Shadow variable plink-1.07-src/qfam.cpp:321:34: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/qfam.cpp:274:10: note: Shadowed declaration plink-1.07-src/qfam.cpp:321:34: note: Shadow variable plink-1.07-src/qfam.cpp:630:13: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/qfam.cpp:630:13: note: Shadow variable plink-1.07-src/qfam.cpp:657:12: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/qfam.cpp:494:33: note: Shadowed declaration plink-1.07-src/qfam.cpp:657:12: note: Shadow variable plink-1.07-src/qfam.cpp:423:40: style: Parameter 'C' can be declared as reference to const [constParameterReference] plink-1.07-src/qfam.cpp:186:20: style: Variable 'pperson' can be declared as pointer to const [constVariablePointer] plink-1.07-src/qfam.cpp:737:14: style: Variable 'pfam' can be declared as pointer to const [constVariablePointer] plink-1.07-src/qfam.cpp:639:13: style: Variable 'tc' is assigned a value that is never used. [unreadVariable] plink-1.07-src/qfam.cpp:58:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qfam.cpp:169:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qfam.cpp:225:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qfam.cpp:328:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qfam.cpp:509:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/qualscores.cpp:49:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/qualscores.cpp:119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/qualscores.cpp:161:20: style: The scope of the variable 'iid' can be reduced. [variableScope] plink-1.07-src/qualscores.cpp:214:17: style: Local variable 'p' shadows outer variable [shadowVariable] plink-1.07-src/qualscores.cpp:140:10: note: Shadowed declaration plink-1.07-src/qualscores.cpp:214:17: note: Shadow variable plink-1.07-src/qualscores.cpp:219:13: style: Local variable 'q' shadows outer variable [shadowVariable] plink-1.07-src/qualscores.cpp:147:14: note: Shadowed declaration plink-1.07-src/qualscores.cpp:219:13: note: Shadow variable plink-1.07-src/qualscores.cpp:122:12: style: Variable 'nfound' is assigned a value that is never used. [unreadVariable] plink-1.07-src/qualscores.cpp:140:10: style: Unused variable: p [unusedVariable] plink-1.07-src/qualscores.cpp:140:13: style: Unused variable: m [unusedVariable] plink-1.07-src/plink.h:1030:18: performance:inconclusive: Technically the member function 'Plink::Rfunc' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/r.cpp:34:13: note: Technically the member function 'Plink::Rfunc' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:1030:18: note: Technically the member function 'Plink::Rfunc' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/segment.cpp:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:262:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:847:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1077:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1438:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1596:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1808:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:1967:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/segment.cpp:2353:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:844:18: style:inconclusive: Technically the member function 'Plink::displayGMULTI' can be const. [functionConst] plink-1.07-src/segment.cpp:1611:13: note: Technically the member function 'Plink::displayGMULTI' can be const. plink-1.07-src/plink.h:844:18: note: Technically the member function 'Plink::displayGMULTI' can be const. plink-1.07-src/segment.cpp:2116:16: style: Condition '!done' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2108:20: note: Assignment 'done=false', assigned value is 0 plink-1.07-src/segment.cpp:2116:16: note: Condition '!done' is always true plink-1.07-src/segment.cpp:2378:27: style: Condition 'cnv_col=1' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2380:27: style: Condition 'cnv_col=2' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2382:27: style: Condition 'cnv_col=3' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2412:27: style: Condition 'cnv_col=1' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2414:27: style: Condition 'cnv_col=2' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2416:27: style: Condition 'cnv_col=3' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2443:27: style: Condition 'cnv_col=1' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2445:27: style: Condition 'cnv_col=2' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2447:27: style: Condition 'cnv_col=3' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2474:27: style: Condition 'cnv_col=1' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2476:27: style: Condition 'cnv_col=2' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:2478:27: style: Condition 'cnv_col=3' is always true [knownConditionTrueFalse] plink-1.07-src/segment.cpp:187:12: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/segment.cpp:187:12: note: Shadow variable plink-1.07-src/segment.cpp:356:11: style: Local variable 'ncases' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:302:12: note: Shadowed declaration plink-1.07-src/segment.cpp:356:11: note: Shadow variable plink-1.07-src/segment.cpp:356:23: style: Local variable 'ncontrols' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:303:12: note: Shadowed declaration plink-1.07-src/segment.cpp:356:23: note: Shadow variable plink-1.07-src/segment.cpp:565:12: style: Local variable 'ncases' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:356:11: note: Shadowed declaration plink-1.07-src/segment.cpp:565:12: note: Shadow variable plink-1.07-src/segment.cpp:565:24: style: Local variable 'ncontrols' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:356:23: note: Shadowed declaration plink-1.07-src/segment.cpp:565:24: note: Shadow variable plink-1.07-src/segment.cpp:566:25: style: Local variable 'people' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:357:24: note: Shadowed declaration plink-1.07-src/segment.cpp:566:25: note: Shadow variable plink-1.07-src/segment.cpp:570:34: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:363:33: note: Shadowed declaration plink-1.07-src/segment.cpp:570:34: note: Shadow variable plink-1.07-src/segment.cpp:618:15: style: Local variable 'pvalue' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:478:14: note: Shadowed declaration plink-1.07-src/segment.cpp:618:15: note: Shadow variable plink-1.07-src/segment.cpp:695:12: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/segment.cpp:695:12: note: Shadow variable plink-1.07-src/segment.cpp:781:14: style: Local variable 'coverage_conc_aff' shadows outer argument [shadowArgument] plink-1.07-src/segment.cpp:653:22: note: Shadowed declaration plink-1.07-src/segment.cpp:781:14: note: Shadow variable plink-1.07-src/segment.cpp:782:14: style: Local variable 'coverage_conc_unaff' shadows outer argument [shadowArgument] plink-1.07-src/segment.cpp:655:22: note: Shadowed declaration plink-1.07-src/segment.cpp:782:14: note: Shadow variable plink-1.07-src/segment.cpp:783:14: style: Local variable 'coverage_disc' shadows outer argument [shadowArgument] plink-1.07-src/segment.cpp:654:22: note: Shadowed declaration plink-1.07-src/segment.cpp:783:14: note: Shadow variable plink-1.07-src/segment.cpp:803:9: style: Local variable 'SCg' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:701:10: note: Shadowed declaration plink-1.07-src/segment.cpp:803:9: note: Shadow variable plink-1.07-src/segment.cpp:804:9: style: Local variable 'SDg' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:702:10: note: Shadowed declaration plink-1.07-src/segment.cpp:804:9: note: Shadow variable plink-1.07-src/segment.cpp:941:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/segment.cpp:941:18: note: Shadow variable plink-1.07-src/segment.cpp:1020:14: style: Local variable 'prop_11' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:946:10: note: Shadowed declaration plink-1.07-src/segment.cpp:1020:14: note: Shadow variable plink-1.07-src/segment.cpp:1021:14: style: Local variable 'prop_01' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:947:10: note: Shadowed declaration plink-1.07-src/segment.cpp:1021:14: note: Shadow variable plink-1.07-src/segment.cpp:1022:14: style: Local variable 'prop_00' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:948:10: note: Shadowed declaration plink-1.07-src/segment.cpp:1022:14: note: Shadow variable plink-1.07-src/segment.cpp:1222:33: style: Local variable 's' shadows outer variable [shadowVariable] plink-1.07-src/segment.cpp:1188:29: note: Shadowed declaration plink-1.07-src/segment.cpp:1222:33: note: Shadow variable plink-1.07-src/segment.cpp:2152:10: style: Local variable 'display' shadows outer function [shadowFunction] plink-1.07-src/helper.h:111:8: note: Shadowed declaration plink-1.07-src/segment.cpp:2152:10: note: Shadow variable plink-1.07-src/segment.cpp:26:53: style: Parameter 'p' can be declared as reference to const [constParameterReference] plink-1.07-src/segment.cpp:249:51: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/segment.cpp:653:22: style: Parameter 'coverage_conc_aff' can be declared as reference to const [constParameterReference] plink-1.07-src/segment.cpp:654:22: style: Parameter 'coverage_disc' can be declared as reference to const [constParameterReference] plink-1.07-src/segment.cpp:655:22: style: Parameter 'coverage_conc_unaff' can be declared as reference to const [constParameterReference] plink-1.07-src/segment.cpp:123:12: style: Variable 'start' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:124:12: style: Variable 'finish' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:954:15: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:955:15: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1027:19: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1028:19: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1229:12: style: Variable 'loc1' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1234:16: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1250:16: style: Variable 'loc2' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:1614:11: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:2360:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:2396:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:2427:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:2458:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] plink-1.07-src/segment.cpp:318:21: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/segment.cpp:331:25: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/segment.cpp:371:21: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/segment.cpp:383:25: performance: Searching before insertion is not necessary. [stlFindInsert] plink-1.07-src/segment.cpp:1855:18: warning: Either the condition 'ic!=segmentCount.end()' is redundant or there is possible dereference of an invalid iterator: ic. [derefInvalidIteratorRedundantCheck] plink-1.07-src/segment.cpp:1861:12: note: Assuming that condition 'ic!=segmentCount.end()' is not redundant plink-1.07-src/segment.cpp:1855:18: note: Dereference of an invalid iterator plink-1.07-src/segment.cpp:950:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:954:18: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:955:18: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:1027:22: style: Variable 'p1' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:1028:22: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:1855:16: style: Variable 'p' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:2003:12: style: Variable 'nseg' is assigned a value that is never used. [unreadVariable] plink-1.07-src/segment.cpp:340:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:392:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:559:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:604:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:637:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:761:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:800:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1167:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1206:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1260:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1407:8: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1428:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/segment.cpp:1775:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/sets.cpp:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/sets.cpp:365:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/sets.cpp:1044:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/sets.h:43:8: performance:inconclusive: Technically the member function 'Set::cumulativeSetSum_WITHOUTLABELS' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/sets.cpp:524:11: note: Technically the member function 'Set::cumulativeSetSum_WITHOUTLABELS' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/sets.h:43:8: note: Technically the member function 'Set::cumulativeSetSum_WITHOUTLABELS' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/sets.h:44:8: performance:inconclusive: Technically the member function 'Set::cumulativeSetSum_WITHLABELS' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/sets.cpp:445:11: note: Technically the member function 'Set::cumulativeSetSum_WITHLABELS' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/sets.h:44:8: note: Technically the member function 'Set::cumulativeSetSum_WITHLABELS' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/sets.cpp:1173:22: style: Condition 'bestModel!=NULL' is always true [knownConditionTrueFalse] plink-1.07-src/sets.cpp:859:12: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/sets.cpp:843:33: note: Shadowed declaration plink-1.07-src/sets.cpp:859:12: note: Shadow variable plink-1.07-src/sets.cpp:374:19: style: Variable 'lset' can be declared as reference to const [constVariableReference] plink-1.07-src/sets.cpp:445:47: style: Parameter 'P' can be declared as reference to const [constParameterReference] plink-1.07-src/sets.cpp:445:67: style: Parameter 'original' can be declared as reference to const [constParameterReference] plink-1.07-src/sets.cpp:524:59: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/sets.cpp:372:16: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] plink-1.07-src/sets.cpp:136:22: style: Unused variable: mean [unusedVariable] plink-1.07-src/sets.cpp:944:80: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/setscreen.cpp:60:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/setscreen.cpp:109:22: style: Local variable 'tokens' shadows outer variable [shadowVariable] plink-1.07-src/setscreen.cpp:73:18: note: Shadowed declaration plink-1.07-src/setscreen.cpp:109:22: note: Shadow variable plink-1.07-src/setscreen.cpp:119:18: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/setscreen.cpp:119:18: note: Shadow variable plink-1.07-src/setscreen.cpp:298:14: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/setscreen.cpp:298:14: note: Shadow variable plink-1.07-src/sharing.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/plink.h:812:18: performance:inconclusive: Technically the member function 'Plink::sharingIBSTest' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/sharing.cpp:120:23: note: Technically the member function 'Plink::sharingIBSTest' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/plink.h:812:18: note: Technically the member function 'Plink::sharingIBSTest' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/sharing.cpp:120:45: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/simul.cpp:534:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/simul.cpp:1041:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/simul.cpp:76:3: warning: Member variable 'SimParametersQT::gAA' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/simul.cpp:76:3: warning: Member variable 'SimParametersQT::gAB' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/simul.cpp:76:3: warning: Member variable 'SimParametersQT::gBB' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/simul.cpp:47:5: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/simul.cpp:78:5: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] plink-1.07-src/simul.cpp:677:7: style: Local variable 'pos' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:608:18: note: Shadowed declaration plink-1.07-src/simul.cpp:677:7: note: Shadow variable plink-1.07-src/simul.cpp:1209:7: style: Local variable 'pos' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:608:18: note: Shadowed declaration plink-1.07-src/simul.cpp:1209:7: note: Shadow variable plink-1.07-src/simul.cpp:90:38: style: Parameter 's' can be declared as reference to const [constParameterReference] plink-1.07-src/simul.cpp:914:18: style: Variable 'hp' can be declared as reference to const [constVariableReference] plink-1.07-src/simul.cpp:1401:18: style: Variable 'hp' can be declared as reference to const [constVariableReference] plink-1.07-src/simul.cpp:172:19: style: Variable 'gh_11_12' is assigned a value that is never used. [unreadVariable] plink-1.07-src/simul.cpp:239:6: style: Variable 'd2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/simul.cpp:247:6: style: Variable 'u2' is assigned a value that is never used. [unreadVariable] plink-1.07-src/simul.cpp:1358:28: style: Variable 'cumU' is assigned a value that is never used. [unreadVariable] plink-1.07-src/sockets.cpp:91:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] plink-1.07-src/sockets.cpp:144:22: warning: Either the condition 'retcode<0' is redundant or the array 'echoBuffer[4097]' is accessed at index -1, which is out of bounds. [negativeIndex] plink-1.07-src/sockets.cpp:132:20: note: Assuming that condition 'retcode<0' is not redundant plink-1.07-src/sockets.cpp:144:22: note: Negative array index plink-1.07-src/sockets.cpp:98:32: style: C-style pointer casting [cstyleCast] plink-1.07-src/sockets.cpp:128:11: style: Local variable 'retcode' shadows outer variable [shadowVariable] plink-1.07-src/sockets.cpp:80:24: note: Shadowed declaration plink-1.07-src/sockets.cpp:128:11: note: Shadow variable plink-1.07-src/sockets.cpp:57:13: performance: Function parameter 'ip_addr' should be passed by const reference. [passedByValue] plink-1.07-src/sockets.cpp:119:21: style: Variable 'echoStringLen' is assigned a value that is never used. [unreadVariable] plink-1.07-src/sockets.cpp:78:24: style: Unused variable: out_buf [unusedVariable] plink-1.07-src/sockets.cpp:79:24: style: Unused variable: in_buf [unusedVariable] plink-1.07-src/sockets.cpp:81:24: style: Unused variable: i [unusedVariable] plink-1.07-src/stats.cpp:663:32: debug: Function::addArguments found argument 'double' with varid 0. [varid0] plink-1.07-src/stats.cpp:720:33: debug: Function::addArguments found argument 'double' with varid 0. [varid0] plink-1.07-src/stats.cpp:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] plink-1.07-src/stats.cpp:673:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] plink-1.07-src/stats.cpp:208:13: style: The scope of the variable 'r' can be reduced. [variableScope] plink-1.07-src/stats.cpp:298:9: style: The scope of the variable 'm2' can be reduced. [variableScope] plink-1.07-src/stats.cpp:299:10: style: The scope of the variable 'aa' can be reduced. [variableScope] plink-1.07-src/stats.cpp:299:17: style: The scope of the variable 'del' can be reduced. [variableScope] plink-1.07-src/stats.cpp:386:7: style: The scope of the variable 'l' can be reduced. [variableScope] plink-1.07-src/stats.cpp:387:10: style: The scope of the variable 'scale' can be reduced. [variableScope] plink-1.07-src/stats.cpp:387:19: style: The scope of the variable 'h' can be reduced. [variableScope] plink-1.07-src/stats.cpp:458:11: style: The scope of the variable 'iter' can be reduced. [variableScope] plink-1.07-src/stats.cpp:539:10: style: The scope of the variable 'scale' can be reduced. [variableScope] plink-1.07-src/stats.cpp:539:19: style: The scope of the variable 'h' can be reduced. [variableScope] plink-1.07-src/stats.cpp:608:11: style: The scope of the variable 'iter' can be reduced. [variableScope] plink-1.07-src/stats.cpp:691:24: style: The scope of the variable 'dift' can be reduced. [variableScope] plink-1.07-src/stats.cpp:722:16: style: The scope of the variable 'x' can be reduced. [variableScope] plink-1.07-src/stats.cpp:722:18: style: The scope of the variable 'tnm' can be reduced. [variableScope] plink-1.07-src/stats.cpp:722:22: style: The scope of the variable 'sum' can be reduced. [variableScope] plink-1.07-src/stats.cpp:722:26: style: The scope of the variable 'del' can be reduced. [variableScope] plink-1.07-src/stats.cpp:724:13: style: The scope of the variable 'it' can be reduced. [variableScope] plink-1.07-src/stats.cpp:724:16: style: The scope of the variable 'j' can be reduced. [variableScope] plink-1.07-src/stats.cpp:1006:16: style: The scope of the variable 'ip' can be reduced. [variableScope] plink-1.07-src/plink.h:315:25: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/plink.h:315:25: note: Shadow variable plink-1.07-src/stats.cpp:299:13: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:299:13: note: Shadow variable plink-1.07-src/stats.cpp:299:15: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:299:15: note: Shadow variable plink-1.07-src/stats.cpp:335:10: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:335:10: note: Shadow variable plink-1.07-src/stats.cpp:347:12: style: Local variable 'i' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:336:7: note: Shadowed declaration plink-1.07-src/stats.cpp:347:12: note: Shadow variable plink-1.07-src/stats.cpp:372:18: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:372:18: note: Shadow variable plink-1.07-src/stats.cpp:459:23: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:459:23: note: Shadow variable plink-1.07-src/stats.cpp:459:25: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:176:21: note: Shadowed declaration plink-1.07-src/stats.cpp:459:25: note: Shadow variable plink-1.07-src/stats.cpp:609:23: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:609:23: note: Shadow variable plink-1.07-src/stats.cpp:609:25: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:176:21: note: Shadowed declaration plink-1.07-src/stats.cpp:609:25: note: Shadow variable plink-1.07-src/stats.cpp:694:18: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:694:18: note: Shadow variable plink-1.07-src/stats.cpp:694:23: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:694:23: note: Shadow variable plink-1.07-src/stats.cpp:819:7: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:819:7: note: Shadow variable plink-1.07-src/stats.cpp:909:18: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:909:18: note: Shadow variable plink-1.07-src/stats.cpp:1036:16: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1036:16: note: Shadow variable plink-1.07-src/stats.cpp:1270:7: style: Local variable 'a' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:166:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1270:7: note: Shadow variable plink-1.07-src/stats.cpp:1273:7: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:176:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1273:7: note: Shadow variable plink-1.07-src/stats.cpp:1292:7: style: Local variable 'a' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:166:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1292:7: note: Shadow variable plink-1.07-src/stats.cpp:1295:7: style: Local variable 'b' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:176:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1295:7: note: Shadow variable plink-1.07-src/stats.cpp:1390:17: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1390:17: note: Shadow variable plink-1.07-src/stats.cpp:1400:13: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1400:13: note: Shadow variable plink-1.07-src/stats.cpp:1407:12: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1407:12: note: Shadow variable plink-1.07-src/stats.cpp:1419:12: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1419:12: note: Shadow variable plink-1.07-src/stats.cpp:1477:11: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1477:11: note: Shadow variable plink-1.07-src/stats.cpp:1483:16: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1483:16: note: Shadow variable plink-1.07-src/stats.cpp:1515:14: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1515:14: note: Shadow variable plink-1.07-src/stats.cpp:1521:12: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:185:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1521:12: note: Shadow variable plink-1.07-src/stats.cpp:1529:12: style: Local variable 'd' shadows outer variable [shadowVariable] plink-1.07-src/stats.cpp:195:21: note: Shadowed declaration plink-1.07-src/stats.cpp:1529:12: note: Shadow variable plink-1.07-src/stats.cpp:1266:25: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/stats.cpp:1290:25: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/stats.cpp:1325:23: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/stats.cpp:1330:24: performance: Function parameter 't' should be passed by const reference. [passedByValue] plink-1.07-src/stats.cpp:333:61: style: Parameter 'm' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:456:29: style: Parameter 'z' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:688:23: style: Parameter 'xa' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:688:37: style: Parameter 'ya' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:743:39: style: Parameter 'v' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:744:23: style: Parameter 'w' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:766:38: style: Parameter 'u' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:767:22: style: Parameter 'w' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:768:31: style: Parameter 'v' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:769:22: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1003:38: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1003:54: style: Parameter 'indx' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1237:43: style: Parameter 'a' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1238:29: style: Parameter 'b' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1362:17: style: Parameter 'mask' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:1527:30: style: Parameter 'v' can be declared as reference to const [constParameterReference] plink-1.07-src/stats.cpp:127:17: style: Variable 'cof' can be declared as const array [constVariable] plink-1.07-src/ipmpar.h:71:17: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] plink-1.07-src/stats.cpp:1132:12: warning: Array index -1 is out of bounds. [negativeContainerIndex] plink-1.07-src/stats.cpp:1125:17: note: Assuming that condition 'l>=0' is not redundant plink-1.07-src/stats.cpp:1126:6: note: Assignment 'nm=l-1', assigned value is -1 plink-1.07-src/stats.cpp:1128:11: note: Assuming condition is false plink-1.07-src/stats.cpp:1132:12: note: Negative array index plink-1.07-src/stats.cpp:458:18: style: Unused variable: k [unusedVariable] plink-1.07-src/stats.cpp:813:20: style: Variable 'eps' is assigned a value that is never used. [unreadVariable] plink-1.07-src/stats.cpp:818:9: style: Variable 'r' is assigned a value that is never used. [unreadVariable] plink-1.07-src/stats.cpp:906:20: style: Variable 'eps' is assigned a value that is never used. [unreadVariable] plink-1.07-src/tag.cpp:50:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/tag.cpp:147:11: style: Same expression used in consecutive assignments of 'dist_left' and 'dist_right'. [duplicateAssignExpression] plink-1.07-src/tag.cpp:148:11: note: Same expression used in consecutive assignments of 'dist_left' and 'dist_right'. plink-1.07-src/tag.cpp:147:11: note: Same expression used in consecutive assignments of 'dist_left' and 'dist_right'. plink-1.07-src/tag.cpp:58:11: style: The scope of the variable 'code' can be reduced. [variableScope] plink-1.07-src/tag.cpp:155:11: style: Local variable 'pos' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:608:18: note: Shadowed declaration plink-1.07-src/tag.cpp:155:11: note: Shadow variable plink-1.07-src/tdt.cpp:271:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/tdt.cpp:467:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/tdt.cpp:200:15: style: The scope of the variable 'setsigsize' can be reduced. [variableScope] plink-1.07-src/tdt.cpp:171:18: style: Local variable 'original' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:651:27: note: Shadowed declaration plink-1.07-src/tdt.cpp:171:18: note: Shadow variable plink-1.07-src/tdt.cpp:308:22: style: Local variable 'pv' shadows outer variable [shadowVariable] plink-1.07-src/plink.h:655:10: note: Shadowed declaration plink-1.07-src/tdt.cpp:308:22: note: Shadow variable plink-1.07-src/tdt.cpp:341:14: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/tdt.cpp:288:10: note: Shadowed declaration plink-1.07-src/tdt.cpp:341:14: note: Shadow variable plink-1.07-src/tdt.cpp:445:17: style: Parameter 'perm' can be declared as reference to const [constParameterReference] plink-1.07-src/tdt.cpp:446:25: style: Parameter 'flipA' can be declared as reference to const [constParameterReference] plink-1.07-src/tdt.cpp:447:25: style: Parameter 'flipP' can be declared as reference to const [constParameterReference] plink-1.07-src/tdt.cpp:97:12: style: Variable 'fam' can be declared as pointer to const [constVariablePointer] plink-1.07-src/tdt.cpp:96:23: style: Variable 'person' is assigned a value that is never used. [unreadVariable] plink-1.07-src/tinput.cpp:64:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] plink-1.07-src/tinput.cpp:67:17: warning: Either the condition 'MAP==NULL' is redundant or there is possible null pointer dereference: MAP. [nullPointerRedundantCheck] plink-1.07-src/tinput.cpp:63:12: note: Assuming that condition 'MAP==NULL' is not redundant plink-1.07-src/tinput.cpp:67:17: note: Null pointer dereference plink-1.07-src/tinput.cpp:375:11: style: Local variable 'c' shadows outer variable [shadowVariable] plink-1.07-src/tinput.cpp:66:7: note: Shadowed declaration plink-1.07-src/tinput.cpp:375:11: note: Shadow variable plink-1.07-src/tinput.cpp:382:32: warning: Either the condition 'c>sample.size()' is redundant or 'c' can have the value sample.size(). Expression 'sample[c]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/tinput.cpp:591:11: note: Assuming that condition 'c>sample.size()' is not redundant plink-1.07-src/tinput.cpp:382:32: note: Access out of bounds plink-1.07-src/tinput.cpp:92:34: style: Variable 'f' is assigned a value that is never used. [unreadVariable] plink-1.07-src/trio.cpp:324:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/trio.cpp:433:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/trio.cpp:1036:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/trio.cpp:840:23: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/trio.cpp:810:23: note: First condition plink-1.07-src/trio.cpp:840:23: note: Second condition plink-1.07-src/trio.cpp:252:26: style: Unsigned expression 'mf->kid.size()' can't be negative so it is unnecessary to test it. [unsignedPositive] plink-1.07-src/trio.cpp:326:33: style: Local variable 'f' shadows outer variable [shadowVariable] plink-1.07-src/trio.cpp:155:33: note: Shadowed declaration plink-1.07-src/trio.cpp:326:33: note: Shadow variable plink-1.07-src/trio.cpp:377:37: style: Local variable 'person' shadows outer variable [shadowVariable] plink-1.07-src/trio.cpp:126:33: note: Shadowed declaration plink-1.07-src/trio.cpp:377:37: note: Shadow variable plink-1.07-src/trio.cpp:1005:17: style: Variable 'father' can be declared as pointer to const [constVariablePointer] plink-1.07-src/trio.cpp:1006:17: style: Variable 'mother' can be declared as pointer to const [constVariablePointer] plink-1.07-src/trio.cpp:931:10: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] plink-1.07-src/trio.cpp:962:10: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] plink-1.07-src/trio.cpp:145:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/trio.cpp:210:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/trio.cpp:230:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/trio.cpp:245:44: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/trio.cpp:360:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/trio.cpp:391:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] plink-1.07-src/webcheck.cpp:78:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/webcheck.cpp:56:10: style: The scope of the variable 'thisDate' can be reduced. [variableScope] plink-1.07-src/webcheck.cpp:79:41: style: Unused variable: webVersion [unusedVariable] plink-1.07-src/whap.cpp:109:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/whap.cpp:969:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] plink-1.07-src/whap.cpp:87:3: error: Non-local variable 'whap' will use pointer to local variable 'thisCModel'. [danglingLifetime] plink-1.07-src/whap.cpp:87:10: note: Address of variable taken here. plink-1.07-src/whap.cpp:85:8: note: Variable created here. plink-1.07-src/whap.cpp:87:3: note: Non-local variable 'whap' will use pointer to local variable 'thisCModel'. plink-1.07-src/whap.cpp:199:7: error: Non-local variable 'whap->current' will use pointer to local variable 'alternateModel'. [danglingLifetime] plink-1.07-src/whap.cpp:199:19: note: Address of variable taken here. plink-1.07-src/whap.cpp:89:13: note: Variable created here. plink-1.07-src/whap.cpp:199:7: note: Non-local variable 'whap->current' will use pointer to local variable 'alternateModel'. plink-1.07-src/whap.cpp:218:7: error: Non-local variable 'whap->current' will use pointer to local variable 'nullModel'. [danglingLifetime] plink-1.07-src/whap.cpp:218:19: note: Address of variable taken here. plink-1.07-src/whap.cpp:90:13: note: Variable created here. plink-1.07-src/whap.cpp:218:7: note: Non-local variable 'whap->current' will use pointer to local variable 'nullModel'. plink-1.07-src/whap.cpp:253:11: error: Non-local variable 'whap->current' will use pointer to local variable 'simpleNullModel'. [danglingLifetime] plink-1.07-src/whap.cpp:253:23: note: Address of variable taken here. plink-1.07-src/whap.cpp:243:17: note: Variable created here. plink-1.07-src/whap.cpp:253:11: note: Non-local variable 'whap->current' will use pointer to local variable 'simpleNullModel'. plink-1.07-src/whap.cpp:296:8: error: Non-local variable 'whap->current' will use pointer to local variable 'simpleAlternateModel'. [danglingLifetime] plink-1.07-src/whap.cpp:296:20: note: Address of variable taken here. plink-1.07-src/whap.cpp:270:14: note: Variable created here. plink-1.07-src/whap.cpp:296:8: note: Non-local variable 'whap->current' will use pointer to local variable 'simpleAlternateModel'. plink-1.07-src/whap.cpp:402:12: error: Non-local variable 'whap->current' will use pointer to local variable 'subnullModel'. [danglingLifetime] plink-1.07-src/whap.cpp:402:24: note: Address of variable taken here. plink-1.07-src/whap.cpp:358:18: note: Variable created here. plink-1.07-src/whap.cpp:402:12: note: Non-local variable 'whap->current' will use pointer to local variable 'subnullModel'. plink-1.07-src/whap.h:76:8: performance:inconclusive: Technically the member function 'Chap::determineTestType' can be static (but you may consider moving to unnamed namespace). [functionStatic] plink-1.07-src/whap.cpp:916:12: note: Technically the member function 'Chap::determineTestType' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/whap.h:76:8: note: Technically the member function 'Chap::determineTestType' can be static (but you may consider moving to unnamed namespace). plink-1.07-src/whap.cpp:1131:19: style: Expression is always true because 'else if' condition is opposite to previous condition at line 1130. [multiCondition] plink-1.07-src/whap.cpp:1130:14: note: first condition plink-1.07-src/whap.cpp:1131:19: note: else if condition is opposite to first condition plink-1.07-src/whap.cpp:1376:11: style: Condition 'i1==haploGroup.end()' is always false [knownConditionTrueFalse] plink-1.07-src/whap.cpp:1377:11: style: Condition 'i2==haploGroup.end()' is always false [knownConditionTrueFalse] plink-1.07-src/whap.cpp:809:36: style: C-style pointer casting [cstyleCast] plink-1.07-src/whap.cpp:810:31: style: C-style pointer casting [cstyleCast] plink-1.07-src/whap.cpp:849:34: style: C-style pointer casting [cstyleCast] plink-1.07-src/whap.cpp:850:29: style: C-style pointer casting [cstyleCast] plink-1.07-src/whap.cpp:283:14: style: Local variable 't' shadows outer variable [shadowVariable] plink-1.07-src/whap.cpp:247:16: note: Shadowed declaration plink-1.07-src/whap.cpp:283:14: note: Shadow variable plink-1.07-src/whap.cpp:393:17: style: Local variable 'g' shadows outer variable [shadowVariable] plink-1.07-src/whap.cpp:334:16: note: Shadowed declaration plink-1.07-src/whap.cpp:393:17: note: Shadow variable plink-1.07-src/whap.cpp:1385:37: style: Parameter 'snplist' can be declared as reference to const [constParameterReference] plink-1.07-src/whap.cpp:443:18: style: Variable 'label0' is assigned a value that is never used. [unreadVariable] plink-1.07-src/zed.cpp:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] plink-1.07-src/zed.cpp:24:9: warning: Member variable 'ZInput::buf' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:29:9: warning:inconclusive: Member variable 'ZInput::compressed' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:29:9: warning:inconclusive: Member variable 'ZInput::buf' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:161:10: warning: Member variable 'ZOutput::buf' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:166:10: warning:inconclusive: Member variable 'ZOutput::compressed' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:166:10: warning:inconclusive: Member variable 'ZOutput::buf' is not initialized in the constructor. [uninitMemberVar] plink-1.07-src/zed.cpp:47:8: style: The if condition is the same as the previous if condition [duplicateCondition] plink-1.07-src/zed.cpp:41:8: note: First condition plink-1.07-src/zed.cpp:47:8: note: Second condition plink-1.07-src/zed.cpp:98:10: style: Local variable 'buf' shadows outer variable [shadowVariable] plink-1.07-src/zed.h:23:8: note: Shadowed declaration plink-1.07-src/zed.cpp:98:10: note: Shadow variable plink-1.07-src/zed.cpp:24:23: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/zed.cpp:35:26: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/zed.cpp:130:27: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/zed.cpp:161:25: performance: Function parameter 'f' should be passed by const reference. [passedByValue] plink-1.07-src/zed.cpp:171:28: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/zed.cpp:179:32: performance: Function parameter 's' should be passed by const reference. [passedByValue] plink-1.07-src/zfstream.cpp:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:172:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:192:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:401:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:412:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:423:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:456:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:467:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] plink-1.07-src/zfstream.cpp:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] plink-1.07-src/informative.cpp:21:1: error: The one definition rule is violated, different classes/structs have the same name 'Pair' [ctuOneDefinitionRuleViolation] plink-1.07-src/multiple.cpp:37:1: note: The one definition rule is violated, different classes/structs have the same name 'Pair' plink-1.07-src/informative.cpp:21:1: note: The one definition rule is violated, different classes/structs have the same name 'Pair' plink-1.07-src/blox.cpp:39:1: error: The one definition rule is violated, different classes/structs have the same name 'LDPair' [ctuOneDefinitionRuleViolation] plink-1.07-src/proxy.cpp:54:1: note: The one definition rule is violated, different classes/structs have the same name 'LDPair' plink-1.07-src/blox.cpp:39:1: note: The one definition rule is violated, different classes/structs have the same name 'LDPair' plink-1.07-src/dcdflib.cpp:6023:9: error: Null pointer dereference: status [ctunullpointer] plink-1.07-src/dcdflib.cpp:6349:10: note: Calling function E0000, 2nd argument is null plink-1.07-src/dcdflib.cpp:6023:9: note: Dereferencing argument status that is null plink-1.07-src/dcdflib.cpp:6024:14: error: Null pointer dereference: x [ctunullpointer] plink-1.07-src/dcdflib.cpp:6349:10: note: Calling function E0000, 3rd argument is null plink-1.07-src/dcdflib.cpp:6024:14: note: Dereferencing argument x that is null plink-1.07-src/dcdflib.cpp:6037:15: error: Null pointer dereference: fx [ctunullpointer] plink-1.07-src/dcdflib.cpp:6349:10: note: Calling function E0000, 4th argument is null plink-1.07-src/dcdflib.cpp:6037:15: note: Dereferencing argument fx that is null plink-1.07-src/dcdflib.cpp:6050:6: error: Null pointer dereference: qleft [ctunullpointer] plink-1.07-src/dcdflib.cpp:6349:10: note: Calling function E0000, 5th argument is null plink-1.07-src/dcdflib.cpp:6050:6: note: Dereferencing argument qleft that is null plink-1.07-src/dcdflib.cpp:6050:15: error: Null pointer dereference: qhi [ctunullpointer] plink-1.07-src/dcdflib.cpp:6349:10: note: Calling function E0000, 6th argument is null plink-1.07-src/dcdflib.cpp:6050:15: note: Dereferencing argument qhi that is null plink-1.07-src/dcdflib.cpp:6199:15: error: Null pointer dereference: zabsst [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 7th argument is null plink-1.07-src/dcdflib.cpp:6199:15: note: Dereferencing argument zabsst that is null plink-1.07-src/dcdflib.cpp:6202:15: error: Null pointer dereference: zabsto [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 8th argument is null plink-1.07-src/dcdflib.cpp:6202:15: note: Dereferencing argument zabsto that is null plink-1.07-src/dcdflib.cpp:6198:12: error: Null pointer dereference: zbig [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 9th argument is null plink-1.07-src/dcdflib.cpp:6198:12: note: Dereferencing argument zbig that is null plink-1.07-src/dcdflib.cpp:6200:15: error: Null pointer dereference: zrelst [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 10th argument is null plink-1.07-src/dcdflib.cpp:6200:15: note: Dereferencing argument zrelst that is null plink-1.07-src/dcdflib.cpp:6203:15: error: Null pointer dereference: zrelto [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 11th argument is null plink-1.07-src/dcdflib.cpp:6203:15: note: Dereferencing argument zrelto that is null plink-1.07-src/dcdflib.cpp:6197:14: error: Null pointer dereference: zsmall [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 12th argument is null plink-1.07-src/dcdflib.cpp:6197:14: note: Dereferencing argument zsmall that is null plink-1.07-src/dcdflib.cpp:6201:15: error: Null pointer dereference: zstpmu [ctunullpointer] plink-1.07-src/dcdflib.cpp:6279:10: note: Calling function E0000, 13th argument is null plink-1.07-src/dcdflib.cpp:6201:15: note: Dereferencing argument zstpmu that is null plink-1.07-src/dcdflib.cpp:6874:9: error: Null pointer dereference: status [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 2nd argument is null plink-1.07-src/dcdflib.cpp:6874:9: note: Dereferencing argument status that is null plink-1.07-src/dcdflib.cpp:6877:10: error: Null pointer dereference: x [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 3rd argument is null plink-1.07-src/dcdflib.cpp:6877:10: note: Dereferencing argument x that is null plink-1.07-src/dcdflib.cpp:6884:11: error: Null pointer dereference: fx [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 4th argument is null plink-1.07-src/dcdflib.cpp:6884:11: note: Dereferencing argument fx that is null plink-1.07-src/dcdflib.cpp:6875:6: error: Null pointer dereference: xlo [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 5th argument is null plink-1.07-src/dcdflib.cpp:6875:6: note: Dereferencing argument xlo that is null plink-1.07-src/dcdflib.cpp:6876:6: error: Null pointer dereference: xhi [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 6th argument is null plink-1.07-src/dcdflib.cpp:6876:6: note: Dereferencing argument xhi that is null plink-1.07-src/dcdflib.cpp:6900:6: error: Null pointer dereference: qleft [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 7th argument is null plink-1.07-src/dcdflib.cpp:6900:6: note: Dereferencing argument qleft that is null plink-1.07-src/dcdflib.cpp:6901:6: error: Null pointer dereference: qhi [ctunullpointer] plink-1.07-src/dcdflib.cpp:7134:10: note: Calling function E0001, 8th argument is null plink-1.07-src/dcdflib.cpp:6901:6: note: Dereferencing argument qhi that is null plink-1.07-src/dcdflib.cpp:7007:15: error: Null pointer dereference: zabstl [ctunullpointer] plink-1.07-src/dcdflib.cpp:7087:10: note: Calling function E0001, 9th argument is null plink-1.07-src/dcdflib.cpp:7007:15: note: Dereferencing argument zabstl that is null plink-1.07-src/dcdflib.cpp:7008:15: error: Null pointer dereference: zreltl [ctunullpointer] plink-1.07-src/dcdflib.cpp:7087:10: note: Calling function E0001, 10th argument is null plink-1.07-src/dcdflib.cpp:7008:15: note: Dereferencing argument zreltl that is null plink-1.07-src/dcdflib.cpp:7006:13: error: Null pointer dereference: zxhi [ctunullpointer] plink-1.07-src/dcdflib.cpp:7087:10: note: Calling function E0001, 11th argument is null plink-1.07-src/dcdflib.cpp:7006:13: note: Dereferencing argument zxhi that is null plink-1.07-src/dcdflib.cpp:7005:13: error: Null pointer dereference: zxlo [ctunullpointer] plink-1.07-src/dcdflib.cpp:7087:10: note: Calling function E0001, 12th argument is null plink-1.07-src/dcdflib.cpp:7005:13: note: Dereferencing argument zxlo that is null diff: head plink-1.07-src/annot.cpp:109:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:1227:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:1741:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:199:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:2142:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:2297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/assoc.cpp:845:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/binput.cpp:417:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/binput.cpp:53:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/blox.cpp:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/blox.cpp:622:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/bmerge.cpp:79:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/clumpld.cpp:266:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/clumpld.cpp:96:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/cluster.cpp:1552:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/cluster.cpp:1677:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/cluster.cpp:181:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/cnv.cpp:1378:17: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/cnv.cpp:181:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/cnv.cpp:1956:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/cnv.cpp:2208:11: style: The scope of the variable 'countCNV' can be reduced. [variableScope] head plink-1.07-src/cnv.cpp:2209:11: style: The scope of the variable 'totalKB' can be reduced. [variableScope] head plink-1.07-src/cnv.cpp:2296:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/cnvqt.cpp:146:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.129418923021993e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:365:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:5550:15: style: The scope of the variable 'd' can be reduced. [variableScope] head plink-1.07-src/dcdflib.cpp:5561:15: style: The scope of the variable 'q' can be reduced. [variableScope] head plink-1.07-src/dcdflib.cpp:5566:15: style: The scope of the variable 'sqrpi' can be reduced. [variableScope] head plink-1.07-src/dcdflib.cpp:5891:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.914041914819518e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:6491:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.129418923021993e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:6691:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.771058495001320e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7310:18: style: Parameter 'mu' can be declared as pointer to const [constParameterPointer] head plink-1.07-src/dcdflib.cpp:7436:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.273076135303957e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7864:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.833333333333333e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7911:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.577215664901533e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:7972:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.820756370353826e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:8236:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.185185185185185e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:8673:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.895385022981970e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:8881:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.914041914819518e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:8911:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:8961:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0.566749439387324e [valueFlowBailoutIncompleteVar] head plink-1.07-src/dcdflib.cpp:9201:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head plink-1.07-src/dfam.cpp:34:21: style: Parameter 'flipP' can be declared as reference to const [constParameterReference] head plink-1.07-src/dfam.cpp:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/dosage.cpp:1171:11: style: The scope of the variable 'pvalue' can be reduced. [variableScope] head plink-1.07-src/dosage.cpp:1174:11: style: The scope of the variable 'se' can be reduced. [variableScope] head plink-1.07-src/dosage.cpp:1346:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/dosage.cpp:828:26: style: The scope of the variable 'd3' can be reduced. [variableScope] head plink-1.07-src/dosage.cpp:93:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/elf.cpp:1088:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/elf.cpp:290:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/elf.cpp:577:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/elf.cpp:664:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/elf.cpp:949:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/epi.cpp:146:28: warning: Either the condition 'snpset.size()==0' is redundant or expression 'snpset[0]' cause access out of bounds. [containerOutOfBounds] plink-1.07-src/epi.cpp:143:24: note: Assuming that condition 'snpset.size()==0' is not redundant plink-1.07-src/epi.cpp:146:28: note: Access out of bounds head plink-1.07-src/epi.cpp:146:28: warning: Either the condition 'snpset.size()==0' is redundant or expression 'snpset[0]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/epi.cpp:143:24: note: Assuming that condition 'snpset.size()==0' is not redundant plink-1.07-src/epi.cpp:146:28: note: Access out of bounds head plink-1.07-src/epi.cpp:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/filters.cpp:197:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/fisher.cpp:1965:30: style: Parameter 'mes' can be declared as pointer to const [constParameterPointer] head plink-1.07-src/flip.cpp:201:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/flip.cpp:428:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/flip.cpp:79:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/genedrop.cpp:188:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:1186:15: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] head plink-1.07-src/genepi.cpp:1189:29: style: Parameter 'sample' can be declared as reference to const [constParameterReference] head plink-1.07-src/genepi.cpp:328:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xx [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:448:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xx [valueFlowBailoutIncompleteVar] head plink-1.07-src/genepi.cpp:981:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genoerr.cpp:307:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:1069:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:1181:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:363:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:54:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:821:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/genome.cpp:859:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/glm.cpp:99:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/greport.cpp:38:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/gvar.cpp:1141:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/gvar.cpp:162:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head plink-1.07-src/gvar.cpp:593:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/gxe.cpp:106:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/hapglm.cpp:40:53: style: Parameter 'perm' can be declared as reference to const [constParameterReference] head plink-1.07-src/haploQTL.cpp:156:12: style: The scope of the variable 'c1' can be reduced. [variableScope] head plink-1.07-src/haploQTL.cpp:157:12: style: The scope of the variable 'c2' can be reduced. [variableScope] head plink-1.07-src/haploQTL.cpp:94:12: style: The scope of the variable 'c1' can be reduced. [variableScope] head plink-1.07-src/haploQTL.cpp:95:12: style: The scope of the variable 'c2' can be reduced. [variableScope] head plink-1.07-src/haplohelper.cpp:1158:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:154:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:375:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:461:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:853:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:89:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:959:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/haplohelper.cpp:95:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/haplowindow.cpp:933:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1050:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1057:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1075:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1157:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:1387:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:2629:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:2714:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:2924:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:3029:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:3200:61: style: Parameter 'ranges' can be declared as reference to const [constParameterReference] head plink-1.07-src/helper.cpp:3534:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:3672:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:372:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:385:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:398:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:524:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:546:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/helper.cpp:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/homozyg.cpp:150:28: style: Parameter 'segmentCount' can be declared as reference to const [constParameterReference] head plink-1.07-src/homozyg.cpp:151:31: style: Parameter 'segmentLength' can be declared as reference to const [constParameterReference] head plink-1.07-src/homozyg.cpp:2447:11: style: The scope of the variable 'E_A0' can be reduced. [variableScope] head plink-1.07-src/homozyg.cpp:2449:11: style: The scope of the variable 'E_U0' can be reduced. [variableScope] head plink-1.07-src/homozyg.cpp:2483:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/homozyg.cpp:270:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/homozyg.cpp:2821:15: style: The scope of the variable 'E_A0' can be reduced. [variableScope] head plink-1.07-src/homozyg.cpp:2823:15: style: The scope of the variable 'E_U0' can be reduced. [variableScope] head plink-1.07-src/homozyg.cpp:973:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/hotel.cpp:148:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/hotel.cpp:196:11: style: Parameter 'S' can be declared as reference to const [constParameterReference] head plink-1.07-src/hotel.cpp:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/idhelp.cpp:1503:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/idhelp.cpp:1633:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/idhelp.cpp:1876:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/idhelp.cpp:43:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head plink-1.07-src/idhelp.cpp:450:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/idhelp.cpp:601:10: style: Condition 'seenJoint' is always false [knownConditionTrueFalse] plink-1.07-src/idhelp.cpp:506:24: note: Assignment 'seenJoint=false', assigned value is 0 plink-1.07-src/idhelp.cpp:601:10: note: Condition 'seenJoint' is always false head plink-1.07-src/idhelp.h:192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/informative.cpp:323:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/informative.cpp:48:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:1226:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:1328:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:1566:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:1946:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:2360:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:2583:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:2701:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:2807:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:66:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:671:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:776:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/input.cpp:891:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/lapackf.cpp:40:35: style: Parameter 'A' can be declared as reference to const [constParameterReference] head plink-1.07-src/lapackf.cpp:40:49: style: Parameter 'S' can be declared as reference to const [constParameterReference] head plink-1.07-src/lapackf.cpp:40:63: style: Parameter 'V' can be declared as reference to const [constParameterReference] head plink-1.07-src/lapackf.cpp:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/legacy.cpp:1145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/legacy.cpp:378:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/legacy.cpp:835:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/linear.cpp:250:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/linear.cpp:464:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/linear.h:28:4: style: The destructor '~LinearModel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:27:12: note: Virtual destructor in base class plink-1.07-src/linear.h:28:4: note: Destructor in derived class head plink-1.07-src/linput.cpp:307:6: style: The scope of the variable 'ip' can be reduced. [variableScope] head plink-1.07-src/linput.cpp:73:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/logistic.cpp:85:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/logistic.h:28:4: style: The destructor '~LogisticModel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] plink-1.07-src/model.h:27:12: note: Virtual destructor in base class plink-1.07-src/logistic.h:28:4: note: Destructor in derived class head plink-1.07-src/lookup.cpp:54:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/lookup2.cpp:158:16: style: Variable 'nl' is assigned a value that is never used. [unreadVariable] head plink-1.07-src/lookup2.cpp:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/lookup2.cpp:199:16: style: Variable 'nl' is assigned a value that is never used. [unreadVariable] 2.13.0 plink-1.07-src/lookup2.cpp:277:16: style: Variable 'nl' is assigned a value that is never used. [unreadVariable] head plink-1.07-src/lookup2.cpp:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head plink-1.07-src/mds.cpp:311:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/merge.cpp:259:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/merge.cpp:90:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/metaanal.cpp:163:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/mh.cpp:232:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/mh.cpp:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/mh.cpp:858:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/mishap.cpp:41:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/model.cpp:123:33: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] head plink-1.07-src/model.cpp:402:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/model.cpp:426:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/model.cpp:585:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/model.cpp:827:45: style: Parameter 'person' can be declared as pointer to const [constParameterPointer] head plink-1.07-src/model.h:41:16: performance: Function 'getMissing()' should return member 'miss' by const reference. [returnByReference] head plink-1.07-src/multi.cpp:294:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/multi.cpp:576:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/multiple.cpp:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/nlist.cpp:40:11: style: The scope of the variable 'j' can be reduced. [variableScope] head plink-1.07-src/nlist.cpp:45:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] head plink-1.07-src/nonfounderphasing.cpp:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/options.h:69:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1086:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1193:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/output.cpp:1222:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1304:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/output.cpp:1335:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1437:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1501:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1555:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1586:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/output.cpp:1616:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1668:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/output.cpp:1788:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1926:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:193:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1958:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1970:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:1975:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/output.cpp:2363:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:2407:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:390:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:607:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:675:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/output.cpp:693:21: warning: Either the condition 's.size()==1' is redundant or s size can be 1. Expression 's[1]' cause access out of bounds. [containerOutOfBounds] plink-1.07-src/output.cpp:687:21: note: Assuming that condition 's.size()==1' is not redundant plink-1.07-src/output.cpp:693:21: note: Access out of bounds head plink-1.07-src/output.cpp:693:21: warning: Either the condition 's.size()==1' is redundant or size of 's' can be 1. Expression 's[1]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/output.cpp:687:21: note: Assuming that condition 's.size()==1' is not redundant plink-1.07-src/output.cpp:693:21: note: Access out of bounds head plink-1.07-src/output.cpp:742:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:80:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:813:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:832:8: style: The scope of the variable 'l' can be reduced. [variableScope] head plink-1.07-src/output.cpp:905:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:921:8: style: The scope of the variable 'l' can be reduced. [variableScope] head plink-1.07-src/output.cpp:948:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/output.cpp:957:20: style: Variable 'person' can be declared as pointer to const [constVariablePointer] head plink-1.07-src/parse.cpp:487:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/pdriver.cpp:63:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/perm.cpp:290:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/perm.cpp:49:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/phase.cpp:73:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head plink-1.07-src/phase.cpp:792:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/plink.cpp:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] head plink-1.07-src/poo.cpp:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/poo.cpp:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/prephap.cpp:535:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head plink-1.07-src/prephap.cpp:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/profile.cpp:62:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/proxy.cpp:188:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/qfam.cpp:290:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/qfam.cpp:456:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/qfam.cpp:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/qualscores.cpp:119:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/qualscores.cpp:49:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1077:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1115:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1438:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1596:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1808:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:1967:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:2353:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:249:51: style: Parameter 'perm' can be declared as reference to const [constParameterReference] head plink-1.07-src/segment.cpp:262:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/segment.cpp:847:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/sets.cpp:1044:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/sets.cpp:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/sets.cpp:365:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/sets.cpp:445:47: style: Parameter 'P' can be declared as reference to const [constParameterReference] head plink-1.07-src/sets.cpp:445:67: style: Parameter 'original' can be declared as reference to const [constParameterReference] head plink-1.07-src/sets.cpp:524:59: style: Parameter 'perm' can be declared as reference to const [constParameterReference] head plink-1.07-src/setscreen.cpp:60:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/sharing.cpp:120:45: style: Parameter 'perm' can be declared as reference to const [constParameterReference] head plink-1.07-src/sharing.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/simul.cpp:1041:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/simul.cpp:534:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/sockets.cpp:91:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] head plink-1.07-src/stats.cpp:208:13: style: The scope of the variable 'r' can be reduced. [variableScope] head plink-1.07-src/stats.cpp:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head plink-1.07-src/stats.cpp:456:29: style: Parameter 'z' can be declared as reference to const [constParameterReference] head plink-1.07-src/stats.cpp:673:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] head plink-1.07-src/tag.cpp:50:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/tag.cpp:58:11: style: The scope of the variable 'code' can be reduced. [variableScope] head plink-1.07-src/tdt.cpp:271:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/tdt.cpp:467:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.13.0 plink-1.07-src/tinput.cpp:382:32: warning: Either the condition 'c>sample.size()' is redundant or 'c' can have the value sample.size(). Expression 'sample[c]' cause access out of bounds. [containerOutOfBounds] plink-1.07-src/tinput.cpp:591:11: note: Assuming that condition 'c>sample.size()' is not redundant plink-1.07-src/tinput.cpp:382:32: note: Access out of bounds head plink-1.07-src/tinput.cpp:382:32: warning: Either the condition 'c>sample.size()' is redundant or 'c' can have the value sample.size(). Expression 'sample[c]' causes access out of bounds. [containerOutOfBounds] plink-1.07-src/tinput.cpp:591:11: note: Assuming that condition 'c>sample.size()' is not redundant plink-1.07-src/tinput.cpp:382:32: note: Access out of bounds head plink-1.07-src/tinput.cpp:64:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head plink-1.07-src/trio.cpp:1036:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/trio.cpp:324:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/trio.cpp:433:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/webcheck.cpp:56:10: style: The scope of the variable 'thisDate' can be reduced. [variableScope] head plink-1.07-src/webcheck.cpp:78:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/whap.cpp:109:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/whap.cpp:969:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head plink-1.07-src/zed.cpp:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:172:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:192:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:401:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:412:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:423:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:456:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:467:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] head plink-1.07-src/zfstream.cpp:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] DONE