2025-07-09 17:23 ftp://ftp.de.debian.org/debian/pool/main/libs/libsolv/libsolv_0.7.32.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 1171 1174 elapsed-time: 12.1 12.7 head-timing-info: old-timing-info: head results: libsolv-0.7.32/examples/solv/patchjobs.c:23:7: error: There is an unknown macro here somewhere. Configuration is required. If FOR_REPO_SOLVABLES is a macro then please configure it. [unknownMacro] libsolv-0.7.32/examples/solv/deltarpm.c:43:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_STRING [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/checksig.c:66:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_DESCRIPTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/mirror.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA256 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/fastestmirror.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/repoinfo.c:197:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOSITORY_KEYS [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/checksig.c:17:18: style: Parameter 'gpgdir' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/checksig.c:43:9: style: Variable 'keysfile' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/repoinfo.c:90:22: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:90:33: style: Parameter 'nrepoinfosp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:141:27: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:153:33: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:153:60: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:203:17: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:203:45: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/repoinfo.c:205:20: style: Variable 'cinfo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/repoinfo.c:128:9: style: Variable 'l' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/examples/solv/repoinfo.c:128:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/examples/solv/fileprovides.c:42:14: style: Variable 'edata' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/repoinfo_cache.c:141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_LOADING [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/repoinfo_cache.c:173:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repo [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/repoinfo_cache.c:258:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA256 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/deltarpm.c:56:14: style: Variable 'os' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/fastestmirror.c:76:25: warning: Invalid connect() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] libsolv-0.7.32/examples/solv/fastestmirror.c:74:21: note: Assignment 'socks[i]=-1', assigned value is -1 libsolv-0.7.32/examples/solv/fastestmirror.c:76:25: note: Invalid argument libsolv-0.7.32/examples/solv/repoinfo_download.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_CHECKSUM [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_parserpmrichdep.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_LT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:149:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA1 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:174:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_REQUIRES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:221:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PROVIDES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:251:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_SUMMARY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:385:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_MD5 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:147:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVER_DECISIONLIST_SORTED [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:193:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVER_DECISIONLIST_PROBLEM [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:253:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:314:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVER_INSTALL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apk.c:347:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_CONFLICTS [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apk.c:405:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apk.c:596:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_HDRID [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apk.c:620:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apk.c:698:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/repoinfo_cache.c:90:18: style: Variable 'cookie' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/repoinfo_cache.c:164:88: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_appdata.c:131:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_CATEGORY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:441:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:474:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_DIRSTRARRAY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:501:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPODATA_STUB [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_appdata.c:533:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:82:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:121:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:164:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:212:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:291:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:373:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:529:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:604:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:665:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:756:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:785:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:871:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_FLAG_IMPLICITOBSOLETEUSESCOLORS [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_LT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:80:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:211:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:304:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_SUMMARY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:443:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_ANY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:463:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_EXTEND_SOLVABLES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:528:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/examples/solv/solv.c:937:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libsolv-0.7.32/examples/solv/solv.c:898:11: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/examples/solv/solv.c:278:6: note: Shadowed declaration libsolv-0.7.32/examples/solv/solv.c:898:11: note: Shadow variable libsolv-0.7.32/examples/solv/solv.c:931:8: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/examples/solv/solv.c:278:6: note: Shadowed declaration libsolv-0.7.32/examples/solv/solv.c:931:8: note: Shadow variable libsolv-0.7.32/examples/solv/solv.c:139:52: style: Parameter 'lq' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/solv.c:205:35: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/examples/solv/solv.c:441:21: style: Variable 'cinfo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/solv.c:806:26: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/examples/solv/solv.c:981:21: style: Variable 'cinfo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_appdata.c:327:7: style: Local variable 'id' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_appdata.c:297:6: note: Shadowed declaration libsolv-0.7.32/ext/repo_appdata.c:327:7: note: Shadow variable libsolv-0.7.32/ext/repo_appdata.c:106:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_appdata.c:468:59: style: Parameter 's' can be declared as pointer to const. However it seems that 'search_uninternalized_filelist_cb' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/repo_appdata.c:513:66: note: You might need to cast the function pointer here libsolv-0.7.32/ext/repo_appdata.c:468:59: note: Parameter 's' can be declared as pointer to const libsolv-0.7.32/ext/repo_appdata.c:468:87: style: Parameter 'key' can be declared as pointer to const. However it seems that 'search_uninternalized_filelist_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/repo_appdata.c:513:66: note: You might need to cast the function pointer here libsolv-0.7.32/ext/repo_appdata.c:468:87: note: Parameter 'key' can be declared as pointer to const libsolv-0.7.32/ext/repo_appdata.c:491:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_appdata.c:90:7: style: struct member 'parsedata::skip_depth' is never used. [unusedStructMember] libsolv-0.7.32/ext/repo_comps.c:165:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_RECOMMENDS [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_comps.c:210:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_comps.c:285:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_autopattern.c:105:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_autopattern.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_EQ [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_comps.c:120:21: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_comps.c:135:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_comps.c:97:15: style: struct member 'parsedata::filename' is never used. [unusedStructMember] libsolv-0.7.32/ext/repo_comps.c:98:15: style: struct member 'parsedata::basename' is never used. [unusedStructMember] libsolv-0.7.32/ext/repo_conda.c:275:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_BUILDFLAVOR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_conda.c:514:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_SIGNATUREDATA [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_apkv3.c:402:42: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_apkv3.c:202:81: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_content.c:143:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_content.c:186:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRODUCT_URL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_content.c:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_arch.c:55:17: style: Condition '*p==' '' is always false [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_arch.c:50:16: note: Assuming that condition '*p=='>'' is not redundant libsolv-0.7.32/ext/repo_arch.c:55:17: note: Condition '*p==' '' is always false libsolv-0.7.32/ext/repo_arch.c:55:30: style: Condition '*p=='\t'' is always false [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_arch.c:50:16: note: Assuming that condition '*p=='>'' is not redundant libsolv-0.7.32/ext/repo_arch.c:55:30: note: Condition '*p=='\t'' is always false libsolv-0.7.32/ext/repo_arch.c:169:7: style: Condition 's' is always true [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_arch.c:80:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_arch.c:469:13: style: Variable 'bn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_arch.c:522:20: style: Variable 'file' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_cudf.c:51:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_GT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_cudf.c:123:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_cudf.c:155:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_ANY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_cudf.c:219:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_autopattern.c:406:7: style: Local variable 'evr' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_autopattern.c:330:16: note: Shadowed declaration libsolv-0.7.32/ext/repo_autopattern.c:406:7: note: Shadow variable libsolv-0.7.32/ext/repo_autopattern.c:156:13: style: Variable 'prvp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_autopattern.c:201:22: style: Variable 'prvp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_autopattern.c:259:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_autopattern.c:346:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_autopattern.c:409:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_GT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:428:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:627:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:637:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:668:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:850:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GET_USERINSTALLED_NAMEARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deltainfoxml.c:189:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deltainfoxml.c:239:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deltainfoxml.c:334:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deltainfoxml.c:70:16: style: struct member 'deltarpm::buildtime' is never used. [unusedStructMember] libsolv-0.7.32/ext/repo_apk.c:405:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_haiku.cpp:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_COMPAT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:56:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_EQ [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:69:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_PACKAGE_ARCHITECTURE_ANY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:172:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_PACKAGE_INSTALLATION_LOCATION_SYSTEM [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:198:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:208:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_haiku.cpp:226:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/pool_fileconflicts.c:382:10: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/pool_fileconflicts.c:538:10: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/pool_fileconflicts.c:627:81: style: Parameter 'info' can be declared as pointer to const. However it seems that 'findfileconflicts_expand_cb' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/pool_fileconflicts.c:1136:47: note: You might need to cast the function pointer here libsolv-0.7.32/ext/pool_fileconflicts.c:627:81: note: Parameter 'info' can be declared as pointer to const libsolv-0.7.32/ext/pool_fileconflicts.c:688:54: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'lookat_idx_cmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/pool_fileconflicts.c:1082:79: note: You might need to cast the function pointer here libsolv-0.7.32/ext/pool_fileconflicts.c:688:54: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/ext/pool_fileconflicts.c:708:53: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'lookat_hx_cmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/pool_fileconflicts.c:1167:79: note: You might need to cast the function pointer here libsolv-0.7.32/ext/pool_fileconflicts.c:708:53: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/ext/pool_fileconflicts.c:752:13: style: Variable 'lastdata' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/pool_fileconflicts.c:1185:14: style: Variable 'bsi' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/pool_fileconflicts.c:1186:14: style: Variable 'bsj' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_helix.c:307:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_helix.c:417:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_helix.c:531:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOSRC [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_helix.c:713:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_products.c:183:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRODUCT_UPDATES_REPOID [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_products.c:205:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_INSTALLTIME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_products.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_products.c:390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_GT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:277:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:330:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:374:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_URL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:404:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_DESCRIPTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:446:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_EXTEND_SOLVABLES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_products.c:390:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_products.c:152:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_products.c:315:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_helix.c:470:50: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_helix.c:473:12: style: Variable 'pidp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_releasefile_products.c:112:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID_EMPTY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_releasefile_products.c:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_repomdxml.c:203:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOSITORY_PRODUCT_CPEID [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_repomdxml.c:271:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOSITORY_REPOMD_OPENCHECKSUM [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_repomdxml.c:351:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_MD5 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:563:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_BUILDTIME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:795:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_DESCRIPTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:914:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:969:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBSOLV_VERSION_STRING [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:1036:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:1051:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:1140:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable evr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_pubkey.c:1162:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PUBKEY_KEYID [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_cudf.c:26:13: style: Variable 'ne' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_cudf.c:26:22: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_cudf.c:109:56: style: Parameter 'fromrepo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_cudf.c:45:7: style: Variable 'evr' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/repo_releasefile_products.c:81:14: style: Local variable 'ptr1' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_releasefile_products.c:48:15: note: Shadowed declaration libsolv-0.7.32/ext/repo_releasefile_products.c:81:14: note: Shadow variable libsolv-0.7.32/ext/repo_releasefile_products.c:124:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:271:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID_NUM_INTERNAL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:383:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:445:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_DESCRIPTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:512:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:538:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:578:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:598:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_CHECKSUM [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:616:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repo [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:694:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLV_WARN [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:942:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:1132:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_EXTEND_SOLVABLES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:699:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:952:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_SRC [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:1046:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:1077:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_CHANGELOG_TIME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:1109:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_DESCRIPTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:1160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOSRC [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:1952:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA256 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmdb.c:2200:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID_NUM_INTERNAL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:175:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_SOURCENAME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:273:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:314:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHCHAIN_START [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:333:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_VOID [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:388:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_susetags.c:465:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_EXTEND_SOLVABLES [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_rpmmd.c:467:12: style: Condition '*str' is always true [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_rpmmd.c:543:19: style: Local variable 'd' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_rpmmd.c:531:18: note: Shadowed declaration libsolv-0.7.32/ext/repo_rpmmd.c:543:19: note: Shadow variable libsolv-0.7.32/ext/repo_rpmmd.c:677:16: style: Local variable 'str' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_rpmmd.c:639:15: note: Shadowed declaration libsolv-0.7.32/ext/repo_rpmmd.c:677:16: note: Shadow variable libsolv-0.7.32/ext/repo_rpmmd.c:430:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:480:31: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_rpmmd.c:505:22: style: Variable 'de' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:543:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:566:33: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_rpmmd.c:581:22: style: Variable 'd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:607:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_rpmmd.c:562:11: style: Variable 'ht[h]' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/repo_testcase.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_NAMESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:307:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_NAMESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:375:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_PREREQMARKER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:423:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:464:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_SUMMARY [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:531:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVABLE_FILELIST [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_testcase.c:614:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOSRC [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_mdk.c:202:12: style: Condition '!version' is always false [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_mdk.c:203:3: style: Variable 'version' is assigned an expression that holds the same value. [redundantAssignment] libsolv-0.7.32/ext/repo_mdk.c:195:12: note: version is assigned 'strrchr(nvra,'-')' here. libsolv-0.7.32/ext/repo_mdk.c:198:24: note: Assignment 'release=version', assigned value is symbolic=strrchr(nvra,'-') libsolv-0.7.32/ext/repo_mdk.c:198:22: note: release is assigned 'version' here. libsolv-0.7.32/ext/repo_mdk.c:195:12: note: version is assigned 'strrchr(nvra,'-')' here. libsolv-0.7.32/ext/repo_mdk.c:200:16: note: version is assigned 'strrchr(nvra,'-')' here. libsolv-0.7.32/ext/repo_mdk.c:195:12: note: version is assigned 'strrchr(nvra,'-')' here. libsolv-0.7.32/ext/repo_mdk.c:198:24: note: Assignment 'release=version', assigned value is symbolic=strrchr(nvra,'-') libsolv-0.7.32/ext/repo_mdk.c:203:3: note: Variable 'version' is assigned an expression that holds the same value. libsolv-0.7.32/ext/repo_mdk.c:360:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_mdk.c:399:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_mdk.c:233:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/repo_testcase.c:624:8: error: Array 'sp[5]' accessed at index sp[*][-1], which is out of bounds. [negativeIndex] libsolv-0.7.32/ext/repo_susetags.c:84:93: style: Parameter 'kind' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_susetags.c:225:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:343:16: style: Variable 'key' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:364:9: style: Variable 'repo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:379:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:380:9: style: Variable 'repo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:407:17: style: Variable 'found' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:590:10: style: Variable 'tagend' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_susetags.c:622:17: style: Variable 'endlang' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_testcase.c:426:19: style: Local variable 's' shadows outer argument [shadowArgument] libsolv-0.7.32/ext/repo_testcase.c:417:64: note: Shadowed declaration libsolv-0.7.32/ext/repo_testcase.c:426:19: note: Shadow variable libsolv-0.7.32/ext/repo_testcase.c:146:15: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_testcase.c:174:15: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_testcase.c:363:17: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_testcase.c:366:11: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_testcase.c:404:19: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_testcase.c:417:64: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_testcase.c:515:26: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_susetags.c:41:7: style: struct member 'parsedata::last_found_source' is never used. [unusedStructMember] libsolv-0.7.32/ext/repo_updateinfoxml.c:241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_updateinfoxml.c:394:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REL_EQ [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_updateinfoxml.c:514:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_NO_INTERNALIZE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repodata_diskusage.c:39:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repodata_diskusage.c:25:60: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'add_diskusage_sortfn' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/ext/repodata_diskusage.c:39:58: note: You might need to cast the function pointer here libsolv-0.7.32/ext/repodata_diskusage.c:25:60: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/ext/repo_zyppdb.c:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRODUCT_TYPE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_zyppdb.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_NOARCH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_zyppdb.c:165:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPO_USE_ROOTDIR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_zyppdb.c:189:12: warning: If resource allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfResources] libsolv-0.7.32/ext/repo_zyppdb.c:167:16: note: Assuming allocation function fails libsolv-0.7.32/ext/repo_zyppdb.c:167:16: note: Assignment 'dir=opendir(dirpath)', assigned value is 0 libsolv-0.7.32/ext/repo_zyppdb.c:189:12: note: Null pointer dereference libsolv-0.7.32/ext/repo_zyppdb.c:152:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_pubkey.c:509:18: style: Condition 'x>=192' is always true [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_pubkey.c:507:13: note: Assuming that condition 'x<192' is not redundant libsolv-0.7.32/ext/repo_pubkey.c:509:18: note: Condition 'x>=192' is always true libsolv-0.7.32/ext/repo_updateinfoxml.c:304:25: style: Local variable 'name' shadows outer argument [shadowArgument] libsolv-0.7.32/ext/repo_updateinfoxml.c:208:66: note: Shadowed declaration libsolv-0.7.32/ext/repo_updateinfoxml.c:304:25: note: Shadow variable libsolv-0.7.32/ext/repo_updateinfoxml.c:344:21: style: Local variable 'name' shadows outer argument [shadowArgument] libsolv-0.7.32/ext/repo_updateinfoxml.c:208:66: note: Shadowed declaration libsolv-0.7.32/ext/repo_updateinfoxml.c:344:21: note: Shadow variable libsolv-0.7.32/ext/repo_pubkey.c:914:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_pubkey.c:1051:43: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_pubkey.c:100:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_pubkey.c:118:13: style: Variable 'pubkeystart' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_pubkey.c:369:34: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_pubkey.c:483:18: style: Variable 'op' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_pubkey.c:946:30: style: Parameter 'sig' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_pubkey.c:956:33: style: Parameter 'pkt' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_pubkey.c:969:9: style: Variable 'solvversion' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_pubkey.c:970:9: style: Variable 'descr' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/solv_xfopen.c:52:0: error: #error Need to implement custom I/O [preprocessorErrorDirective] libsolv-0.7.32/ext/solv_xfopen.c:52:3: error: #error Need to implement custom I/O [preprocessorErrorDirective] libsolv-0.7.32/ext/repo_pubkey.c:626:11: style: Variable 'ex' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/solv_xmlparser.c:199:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Id [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/solv_xmlparser.c:319:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_STATUS_ERROR [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/solv_zchunk.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA1 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/repo_deb.c:386:37: warning: Logical conjunction always evaluates to false: *q == ' ' && *q == '\t'. [incorrectLogicOperator] libsolv-0.7.32/ext/repo_deb.c:791:32: style: Condition 'l-512-l2<=0' is always false [knownConditionTrueFalse] libsolv-0.7.32/ext/repo_deb.c:791:9: note: Assuming that condition 'l<=512' is not redundant libsolv-0.7.32/ext/repo_deb.c:781:9: note: Assignment 'l2=0', assigned value is 0 libsolv-0.7.32/ext/repo_deb.c:791:32: note: Condition 'l-512-l2<=0' is always false libsolv-0.7.32/ext/repo_deb.c:383:10: style: Local variable 'q' shadows outer variable [shadowVariable] libsolv-0.7.32/ext/repo_deb.c:368:13: note: Shadowed declaration libsolv-0.7.32/ext/repo_deb.c:383:10: note: Shadow variable libsolv-0.7.32/ext/solv_xmlparser.c:106:34: style: Variable 'elements' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/solv_xmlparser.c:107:7: style: Variable 'elementhelper' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:668:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/ext/repo_deb.c:124:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:124:48: style: Parameter 'outlp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:188:30: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:188:48: style: Parameter 'outlp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:253:32: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:253:50: style: Parameter 'outlp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/ext/repo_deb.c:263:13: style: Variable 'ne' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:263:22: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:553:13: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:858:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/ext/repo_deb.c:278:7: style: Variable 'evr' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/repo_deb.c:624:4: style: Variable 's' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/ext/solv_ed25519.h:385:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPOKEY_TYPE_SHA512 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/ext/testcase.c:2527:8: error: There is an unknown macro here somewhere. Configuration is required. If FOR_REPO_SOLVABLES is a macro then please configure it. [unknownMacro] libsolv-0.7.32/ext/solv_zchunk.c:61:9: style: Condition 'p=endp' is not redundant libsolv-0.7.32/ext/solv_zchunk.c:61:9: note: Condition 'p0' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/conda.c:340:10: note: Assuming that condition 'r==0' is not redundant libsolv-0.7.32/src/conda.c:342:10: note: Condition 'r>0' is always true libsolv-0.7.32/src/conda.c:221:31: warning: Either the condition 'r1' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] libsolv-0.7.32/src/conda.c:219:7: note: Assuming that condition 'r1' is not redundant libsolv-0.7.32/src/conda.c:221:31: note: Null pointer addition libsolv-0.7.32/src/conda.c:262:17: style: Variable 'j' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/conda.c:261:5: note: j is assigned libsolv-0.7.32/src/conda.c:262:17: note: j is overwritten libsolv-0.7.32/src/conda.c:137:21: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] libsolv-0.7.32/src/conda.c:180:15: style: Variable 'zero' can be declared as const array [constVariable] libsolv-0.7.32/src/conda.c:284:46: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/conda.c:519:14: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/conda.c:572:17: style: Variable 'buildend' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:1331:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo.c:1374:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:46:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:99:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:164:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:317:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:605:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:1231:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:1292:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo.c:1295:29: style: Condition 'keyname>=SOLVABLE_NAME' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/repo.c:1294:15: note: Assuming that condition 'keyname>=SOLVABLE_NAME' is not redundant libsolv-0.7.32/src/repo.c:1295:29: note: Condition 'keyname>=SOLVABLE_NAME' is always true libsolv-0.7.32/src/repo.c:1295:57: style: Condition 'keyname<=RPM_RPMDBID' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/repo.c:1294:43: note: Assuming that condition 'keyname<=RPM_RPMDBID' is not redundant libsolv-0.7.32/src/repo.c:1295:57: note: Condition 'keyname<=RPM_RPMDBID' is always true libsolv-0.7.32/src/repo.c:910:34: style:inconclusive: Function 'repo_search' argument 3 names different: declaration 'key' definition 'keyname'. [funcArgNamesDifferent] libsolv-0.7.32/src/repo.h:173:39: note: Function 'repo_search' argument 3 names different: declaration 'key' definition 'keyname'. libsolv-0.7.32/src/repo.c:910:34: note: Function 'repo_search' argument 3 names different: declaration 'key' definition 'keyname'. libsolv-0.7.32/src/repo.c:1333:16: style: Local variable 'data' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repo.c:1326:13: note: Shadowed declaration libsolv-0.7.32/src/repo.c:1333:16: note: Shadow variable libsolv-0.7.32/src/repo.c:284:28: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo.c:290:28: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo.c:640:11: style: Variable 'idstart' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:772:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:980:66: style: Parameter 'matcher' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo.c:1100:13: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:1169:15: style: Variable 'offp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:1298:15: style: Variable 'offp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo.c:1364:24: style: Parameter 'repo' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/policy.c:490:12: style: Condition 'pool->installed' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/policy.c:916:13: style: Condition 'r==0' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/policy.c:911:11: note: Assignment 'r=0', assigned value is 0 libsolv-0.7.32/src/policy.c:916:13: note: Condition 'r==0' is always true libsolv-0.7.32/src/policy.c:1451:43: style:inconclusive: Function 'policy_is_illegal' argument 2 names different: declaration 's1' definition 'is'. [funcArgNamesDifferent] libsolv-0.7.32/src/policy.h:38:55: note: Function 'policy_is_illegal' argument 2 names different: declaration 's1' definition 'is'. libsolv-0.7.32/src/policy.c:1451:43: note: Function 'policy_is_illegal' argument 2 names different: declaration 's1' definition 'is'. libsolv-0.7.32/src/policy.c:1451:57: style:inconclusive: Function 'policy_is_illegal' argument 3 names different: declaration 's2' definition 's'. [funcArgNamesDifferent] libsolv-0.7.32/src/policy.h:38:69: note: Function 'policy_is_illegal' argument 3 names different: declaration 's2' definition 's'. libsolv-0.7.32/src/policy.c:1451:57: note: Function 'policy_is_illegal' argument 3 names different: declaration 's2' definition 's'. libsolv-0.7.32/src/policy.c:1598:69: style:inconclusive: Function 'policy_findupdatepackages' argument 4 names different: declaration 'allowall' definition 'allow_all'. [funcArgNamesDifferent] libsolv-0.7.32/src/policy.h:39:81: note: Function 'policy_findupdatepackages' argument 4 names different: declaration 'allowall' definition 'allow_all'. libsolv-0.7.32/src/policy.c:1598:69: note: Function 'policy_findupdatepackages' argument 4 names different: declaration 'allowall' definition 'allow_all'. libsolv-0.7.32/src/policy.c:1093:17: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/policy.c:1079:17: note: Shadowed declaration libsolv-0.7.32/src/policy.c:1093:17: note: Shadow variable libsolv-0.7.32/src/policy.c:39:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:92:29: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/policy.c:357:19: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:357:31: style: Variable 'sugp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:572:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:623:19: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:705:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:750:19: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:798:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:878:17: style: Variable 'best' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:954:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1074:11: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1079:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1084:12: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1121:13: style: Variable 'repo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1129:14: style: Variable 'qs' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1165:56: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'urpm_reorder_cmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/policy.c:1279:53: note: You might need to cast the function pointer here libsolv-0.7.32/src/policy.c:1165:56: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/policy.c:1179:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1251:13: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1404:51: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/policy.c:1404:65: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/policy.c:1406:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1453:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1492:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1493:19: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1569:19: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/policy.c:1668:11: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_solv.c:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_solv.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_solv.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_solv.c:141:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_solv.c:662:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/pool.c:324:12: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] libsolv-0.7.32/src/pool.c:323:7: note: outer condition: *da libsolv-0.7.32/src/pool.c:324:12: note: identical inner condition: *da libsolv-0.7.32/src/pool.c:597:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] libsolv-0.7.32/src/pool.c:595:12: note: outer condition: !pool->addedfileprovides libsolv-0.7.32/src/pool.c:597:11: note: identical inner condition: !pool->addedfileprovides libsolv-0.7.32/src/pool.c:1012:11: style: Condition '*oo' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/pool.c:300:38: style:inconclusive: Function 'pool_set_installed' argument 2 names different: declaration 'repo' definition 'installed'. [funcArgNamesDifferent] libsolv-0.7.32/src/pool.h:270:50: note: Function 'pool_set_installed' argument 2 names different: declaration 'repo' definition 'installed'. libsolv-0.7.32/src/pool.c:300:38: note: Function 'pool_set_installed' argument 2 names different: declaration 'repo' definition 'installed'. libsolv-0.7.32/src/pool.c:2063:46: style:inconclusive: Function 'pool_prepend_rootdir' argument 2 names different: declaration 'dir' definition 'path'. [funcArgNamesDifferent] libsolv-0.7.32/src/pool.h:277:59: note: Function 'pool_prepend_rootdir' argument 2 names different: declaration 'dir' definition 'path'. libsolv-0.7.32/src/pool.c:2063:46: note: Function 'pool_prepend_rootdir' argument 2 names different: declaration 'dir' definition 'path'. libsolv-0.7.32/src/pool.c:2073:50: style:inconclusive: Function 'pool_prepend_rootdir_tmp' argument 2 names different: declaration 'dir' definition 'path'. [funcArgNamesDifferent] libsolv-0.7.32/src/pool.h:278:69: note: Function 'pool_prepend_rootdir_tmp' argument 2 names different: declaration 'dir' definition 'path'. libsolv-0.7.32/src/pool.c:2073:50: note: Function 'pool_prepend_rootdir_tmp' argument 2 names different: declaration 'dir' definition 'path'. libsolv-0.7.32/src/pool.c:583:7: style: Local variable 'id' shadows outer variable [shadowVariable] libsolv-0.7.32/src/pool.c:455:6: note: Shadowed declaration libsolv-0.7.32/src/pool.c:583:7: note: Shadow variable libsolv-0.7.32/src/pool.c:149:24: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:313:20: style: Variable 'db' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:339:27: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:421:7: style: Variable 'op' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:459:11: style: Variable 'whatprovidesaux' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:478:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:489:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:537:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:550:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:653:39: style: Parameter 'ids' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:710:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:781:28: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:840:23: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:842:11: style: Variable 'rd1' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:842:17: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:860:11: style: Variable 'rd1' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:860:17: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:999:8: style: Variable 'oo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:1030:20: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:1062:18: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:1123:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:1124:11: style: Variable 'prd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:1128:12: style: Variable 'pidp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_write.c:145:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/pool.c:1129:10: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:162:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/pool.c:1278:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:216:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/pool.c:1309:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:227:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/pool.c:1350:11: style: Variable 'ppaux' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:2003:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/pool.c:2063:28: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:2090:24: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/pool.c:2102:41: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:905:16: style: Local variable 'key' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repo_solv.c:565:17: note: Shadowed declaration libsolv-0.7.32/src/repo_solv.c:905:16: note: Shadow variable libsolv-0.7.32/src/repo_solv.c:131:42: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:131:62: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:427:48: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:440:59: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:464:54: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_solv.c:558:22: style: Variable 'idarraydataend' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_solv.c:722:13: style: Variable 'old_str' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repopack.h:132:54: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/poolid.c:149:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/poolid.c:184:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/poolid.c:258:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/poolid.c:274:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/poolid.c:287:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repopage.c:823:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repo_write.c:175:25: style: Condition 'chunk==len' is always false [knownConditionTrueFalse] libsolv-0.7.32/src/repo_write.c:174:17: note: chunk is assigned 'len>sizeof(cpage)?sizeof(cpage):len' here. libsolv-0.7.32/src/repo_write.c:175:25: note: Condition 'chunk==len' is always false libsolv-0.7.32/src/order.c:1476:19: style: The if condition is the same as the previous if condition [duplicateCondition] libsolv-0.7.32/src/order.c:1474:19: note: First condition libsolv-0.7.32/src/order.c:1476:19: note: Second condition libsolv-0.7.32/src/queue.h:37:7: warning: Either the condition 'q' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] libsolv-0.7.32/src/order.c:1543:7: note: Assuming that condition 'q' is not redundant libsolv-0.7.32/src/order.c:1527:15: note: Calling function 'queue_empty', 1st argument 'q' value is 0 libsolv-0.7.32/src/queue.h:37:7: note: Null pointer dereference libsolv-0.7.32/src/repo_write.c:836:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] libsolv-0.7.32/src/repo_write.c:414:10: style: Local variable 'id' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repo_write.c:405:6: note: Shadowed declaration libsolv-0.7.32/src/repo_write.c:414:10: note: Shadow variable libsolv-0.7.32/src/repo_write.c:427:7: style: Local variable 'id' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repo_write.c:405:6: note: Shadowed declaration libsolv-0.7.32/src/repo_write.c:427:7: note: Shadow variable libsolv-0.7.32/src/repo_write.c:62:20: style: Parameter 'idarray' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:81:55: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'needid_cmp_need' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:1863:60: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:81:55: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:156:34: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:238:63: style: Parameter 'ids' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:393:47: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'cmp_ids' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:445:54: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:393:47: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:536:49: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:615:72: style: Parameter 'key' can be declared as pointer to const. However it seems that 'collect_needed_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:1615:66: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:615:72: note: Parameter 'key' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:615:87: style: Parameter 'kv' can be declared as pointer to const. However it seems that 'collect_needed_cb' is a callback function, if 'kv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:1615:66: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:615:87: note: Parameter 'kv' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:686:65: style: Parameter 'keymap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:904:74: style: Parameter 'key' can be declared as pointer to const. However it seems that 'collect_filelist_cb' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:2206:63: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:904:74: note: Parameter 'key' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:925:63: style: Parameter 'keymap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:1058:31: style: Parameter 'repo' can be declared as pointer to const. However it seems that 'repo_write_stdkeyfilter' is a callback function, if 'repo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:1152:23: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:1058:31: note: Parameter 'repo' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:1058:46: style: Parameter 'key' can be declared as pointer to const. However it seems that 'repo_write_stdkeyfilter' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/repo_write.c:1152:23: note: You might need to cast the function pointer here libsolv-0.7.32/src/repo_write.c:1058:46: note: Parameter 'key' can be declared as pointer to const libsolv-0.7.32/src/repo_write.c:1098:53: style: Parameter 'repodataused' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repo_write.c:2047:13: style: Variable 'old_str' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:2070:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:2135:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repo_write.c:191:12: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] libsolv-0.7.32/src/order.c:306:12: style: Local variable 'i' shadows outer variable [shadowVariable] libsolv-0.7.32/src/order.c:269:7: note: Shadowed declaration libsolv-0.7.32/src/order.c:306:12: note: Shadow variable libsolv-0.7.32/src/order.c:1138:17: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/order.c:881:13: note: Shadowed declaration libsolv-0.7.32/src/order.c:1138:17: note: Shadow variable libsolv-0.7.32/src/order.c:1183:12: style: Local variable 'k' shadows outer variable [shadowVariable] libsolv-0.7.32/src/order.c:882:13: note: Shadowed declaration libsolv-0.7.32/src/order.c:1183:12: note: Shadow variable libsolv-0.7.32/src/order.c:1211:18: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/order.c:881:13: note: Shadowed declaration libsolv-0.7.32/src/order.c:1211:18: note: Shadow variable libsolv-0.7.32/src/order.c:62:62: style: Parameter 'srctrans' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:64:34: style: Variable 'od' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:167:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:230:19: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:230:43: style: Parameter 'ignoreinst' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:235:16: style: Variable 'reqp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:270:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:271:13: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:283:16: style: Variable 'reqp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:427:16: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:466:16: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:501:16: style: Variable 'sugp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:587:53: style: Parameter 'cycle' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:609:32: style: Variable 'te' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:743:41: style: Parameter 'cycle' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:879:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:881:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:890:9: style: Variable 'lastrepo' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:1211:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:1279:44: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:1328:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:1456:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/order.c:1492:45: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:1520:42: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/order.c:1549:42: style: Parameter 'trans' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:118:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repodataid [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repodata.c:1185:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_SUBSCHEMA [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repodata.c:1211:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_SUBSCHEMA [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repodata.c:1240:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEARCH_SUBSCHEMA [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repodata.c:1401:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repodata.c:3804:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POOL_TMPSPACEBUF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/rules.c:131:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n2 [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/rules.c:2446:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/repopage.c:178:21: style: Local variable 'hval' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repopage.c:114:20: note: Shadowed declaration libsolv-0.7.32/src/repopage.c:178:21: note: Shadow variable libsolv-0.7.32/src/repopage.c:180:21: style: Local variable 'try' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repopage.c:115:20: note: Shadowed declaration libsolv-0.7.32/src/repopage.c:180:21: note: Shadow variable libsolv-0.7.32/src/repopage.c:317:18: style: Local variable 'hval' shadows outer variable [shadowVariable] libsolv-0.7.32/src/repopage.c:114:20: note: Shadowed declaration libsolv-0.7.32/src/repopage.c:317:18: note: Shadow variable libsolv-0.7.32/src/repopage.c:389:18: style: Variable 'orig_out' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repopage.c:796:44: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repopage.c:321:15: style: Variable 'hnext[io]' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:24: style: Variable 'f' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:28: style: Variable 'g' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:32: style: Variable 'h' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:438:37: style: Variable 'T1' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:551:14: style: Variable 'usedspace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:551:26: style: Variable 'freespace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:568:12: style: Variable 'usedspace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:24: style: Variable 'f' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:28: style: Variable 'g' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:32: style: Variable 'h' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:735:37: style: Variable 'T1' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:846:14: style: Variable 'usedspace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:846:26: style: Variable 'freespace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha2.c:863:12: style: Variable 'usedspace' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/repodata.c:781:5: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:1034:5: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:1161:5: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:2237:5: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:2253:2: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:3030:5: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:3225:6: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:3265:6: warning: Label 'case_CHKSUM_TYPES' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] libsolv-0.7.32/src/repodata.c:1482:56: style:inconclusive: Function 'datamatcher_checkbasename' argument 2 names different: declaration 'str' definition 'basename'. [funcArgNamesDifferent] libsolv-0.7.32/src/dataiterator.h:86:61: note: Function 'datamatcher_checkbasename' argument 2 names different: declaration 'str' definition 'basename'. libsolv-0.7.32/src/repodata.c:1482:56: note: Function 'datamatcher_checkbasename' argument 2 names different: declaration 'str' definition 'basename'. libsolv-0.7.32/src/repodata.c:2347:42: style:inconclusive: Function 'repodata_extend_block' argument 2 names different: declaration 'p' definition 'start'. [funcArgNamesDifferent] libsolv-0.7.32/src/repodata.h:249:47: note: Function 'repodata_extend_block' argument 2 names different: declaration 'p' definition 'start'. libsolv-0.7.32/src/repodata.c:2347:42: note: Function 'repodata_extend_block' argument 2 names different: declaration 'p' definition 'start'. libsolv-0.7.32/src/repodata.c:2643:30: style:inconclusive: Function 'repodata_set_bin_checksum' argument 5 names different: declaration 'buf' definition 'str'. [funcArgNamesDifferent] libsolv-0.7.32/src/repodata.h:277:32: note: Function 'repodata_set_bin_checksum' argument 5 names different: declaration 'buf' definition 'str'. libsolv-0.7.32/src/repodata.c:2643:30: note: Function 'repodata_set_bin_checksum' argument 5 names different: declaration 'buf' definition 'str'. libsolv-0.7.32/src/repodata.c:2982:65: style:inconclusive: Function 'repodata_add_fixarray' argument 4 names different: declaration 'ghandle' definition 'handle'. [funcArgNamesDifferent] libsolv-0.7.32/src/repodata.h:291:70: note: Function 'repodata_add_fixarray' argument 4 names different: declaration 'ghandle' definition 'handle'. libsolv-0.7.32/src/repodata.c:2982:65: note: Function 'repodata_add_fixarray' argument 4 names different: declaration 'ghandle' definition 'handle'. libsolv-0.7.32/src/repodata.c:2990:66: style:inconclusive: Function 'repodata_add_flexarray' argument 4 names different: declaration 'ghandle' definition 'handle'. [funcArgNamesDifferent] libsolv-0.7.32/src/repodata.h:292:71: note: Function 'repodata_add_flexarray' argument 4 names different: declaration 'ghandle' definition 'handle'. libsolv-0.7.32/src/repodata.c:2990:66: note: Function 'repodata_add_flexarray' argument 4 names different: declaration 'ghandle' definition 'handle'. libsolv-0.7.32/src/repodata.c:3905:47: style:inconclusive: Function 'repodata_set_filelisttype' argument 2 names different: declaration 'filelisttype' definition 'type'. [funcArgNamesDifferent] libsolv-0.7.32/src/repodata.h:219:52: note: Function 'repodata_set_filelisttype' argument 2 names different: declaration 'filelisttype' definition 'type'. libsolv-0.7.32/src/repodata.c:3905:47: note: Function 'repodata_set_filelisttype' argument 2 names different: declaration 'filelisttype' definition 'type'. libsolv-0.7.32/src/sha1.c:113:17: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] libsolv-0.7.32/src/sha1.c:157:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha1.c:157:11: style: Variable 'b' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha1.c:157:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha1.c:157:19: style: Variable 'd' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha1.c:157:23: style: Variable 'e' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/sha1.c:224:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/repodata.c:147:42: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:414:59: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:448:46: style: Parameter 'keyp' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:480:44: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1009:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1130:26: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1130:57: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1442:32: style: Parameter 'ma' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1482:40: style: Parameter 'ma' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1566:57: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1677:36: style: Variable 'key' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repodata.c:2546:66: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:2686:19: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:2725:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repodata.c:2998:78: style: Parameter 'kv' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:3092:65: style: Parameter 'keyidmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:3196:49: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:3648:8: style: Variable 'lastneeded' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/repodata.c:3911:28: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/repodata.c:1544:24: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1599:25: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1599:59: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1619:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1719:22: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1835:22: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:2039:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:2040:31: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:2149:16: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:2201:18: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:2215:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/repodata.c:1177:9: style: struct member 'subschema_data::cbdata' is never used. [unusedStructMember] libsolv-0.7.32/src/repodata.c:1178:6: style: struct member 'subschema_data::solvid' is never used. [unusedStructMember] libsolv-0.7.32/src/repodata.c:1179:13: style: struct member 'subschema_data::parent' is never used. [unusedStructMember] libsolv-0.7.32/src/repodata.c:715:6: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/repodata.c:734:8: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/repodata.c:808:10: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/solvable.c:329:19: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solvable.c:419:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:445:7: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:547:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:548:13: style: Variable 'provp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:650:83: style: Parameter 'solvidmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solvable.c:669:12: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:747:28: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solvable.c:749:13: style: Variable 'as' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:749:40: style: Variable 'bs' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:756:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:757:13: style: Variable 'as' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:757:48: style: Variable 'bs' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solvable.c:790:39: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/selection.c:885:10: style: Condition '*r' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/selection.c:880:19: note: Assuming that condition '*r=='>'' is not redundant libsolv-0.7.32/src/selection.c:885:10: note: Condition '*r' is always true libsolv-0.7.32/src/selection.c:885:20: style: Condition '*r==' '' is always false [knownConditionTrueFalse] libsolv-0.7.32/src/selection.c:880:19: note: Assuming that condition '*r=='>'' is not redundant libsolv-0.7.32/src/selection.c:885:20: note: Condition '*r==' '' is always false libsolv-0.7.32/src/selection.c:885:33: style: Condition '*r=='\t'' is always false [knownConditionTrueFalse] libsolv-0.7.32/src/selection.c:880:19: note: Assuming that condition '*r=='>'' is not redundant libsolv-0.7.32/src/selection.c:885:33: note: Condition '*r=='\t'' is always false libsolv-0.7.32/src/solver.c:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/solver.c:2217:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_MODE_CHOOSE_NOREORDER [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/solver.c:2622:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_MODE_SUPPLEMENT [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/solver.c:4207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/selection.c:1471:13: style: Local variable 'q' shadows outer variable [shadowVariable] libsolv-0.7.32/src/selection.c:1466:9: note: Shadowed declaration libsolv-0.7.32/src/selection.c:1471:13: note: Shadow variable libsolv-0.7.32/src/selection.c:1543:13: style: Local variable 'q' shadows outer variable [shadowVariable] libsolv-0.7.32/src/selection.c:1539:9: note: Shadowed declaration libsolv-0.7.32/src/selection.c:1543:13: note: Shadow variable libsolv-0.7.32/src/selection.c:2006:12: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/src/selection.c:1922:6: note: Shadowed declaration libsolv-0.7.32/src/selection.c:2006:12: note: Shadow variable libsolv-0.7.32/src/selection.c:2020:12: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/src/selection.c:1922:6: note: Shadowed declaration libsolv-0.7.32/src/selection.c:2020:12: note: Shadow variable libsolv-0.7.32/src/selection.c:977:65: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/src/selection.c:60:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:84:67: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'selection_solvables_sortcmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/selection.c:462:49: note: You might need to cast the function pointer here libsolv-0.7.32/src/selection.c:84:67: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/selection.c:106:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:172:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/selection.c:237:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:337:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:354:11: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:495:35: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/selection.c:497:14: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:538:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:564:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:687:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:715:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:728:40: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/selection.c:949:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1018:12: style: Variable 'idp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1084:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1421:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1593:12: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1634:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1814:20: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/selection.c:1863:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1986:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1998:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:2007:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:2021:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:2050:47: style: Parameter 'sel2' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver_util.c:35:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:47:12: style: Variable 'si' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:48:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:66:49: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver_util.c:70:11: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:71:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:113:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:143:49: style: Parameter 'rd' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver_util.c:145:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:150:12: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:166:12: style: Variable 'rd2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:196:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:282:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:293:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:327:12: style: Variable 'supp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:341:52: style: Parameter 'rd' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver_util.c:366:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:369:12: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver_util.c:456:13: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/selection.c:1335:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libsolv-0.7.32/src/selection.c:118:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/selection.c:209:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/selection.c:209:4: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/strpool.c:64:46: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solverdebug.c:465:46: style:inconclusive: Function 'solver_printproblemruleinfo' argument 2 names different: declaration 'rule' definition 'probr'. [funcArgNamesDifferent] libsolv-0.7.32/src/solverdebug.h:31:58: note: Function 'solver_printproblemruleinfo' argument 2 names different: declaration 'rule' definition 'probr'. libsolv-0.7.32/src/solverdebug.c:465:46: note: Function 'solver_printproblemruleinfo' argument 2 names different: declaration 'rule' definition 'probr'. libsolv-0.7.32/src/solverdebug.c:32:55: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solverdebug.c:215:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solverdebug.c:357:30: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/userinstalled.c:315:52: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/src/userinstalled.c:348:79: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/src/userinstalled.c:353:75: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/src/userinstalled.c:363:79: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/src/userinstalled.c:24:61: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'get_userinstalled_cmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/userinstalled.c:336:55: note: You might need to cast the function pointer here libsolv-0.7.32/src/userinstalled.c:24:61: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/userinstalled.c:32:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/userinstalled.c:39:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/userinstalled.c:89:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/userinstalled.c:188:17: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/userinstalled.c:307:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/util.c:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/util.c:153:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFD [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/util.c:92:24: style: Condition 'xblock' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/util.c:90:31: note: Assignment 'xblock=(block+1)<<5', assigned value is greater than 31 libsolv-0.7.32/src/util.c:92:24: note: Condition 'xblock' is always true libsolv-0.7.32/src/util.c:32:3: style: Statements following noreturn function 'abort()' will never be executed. [unreachableCode] libsolv-0.7.32/src/qsort_r.c:102:17: style:inconclusive: Function 'solv_sort' argument 1 names different: declaration 'base' definition 'a'. [funcArgNamesDifferent] libsolv-0.7.32/src/util.h:38:29: note: Function 'solv_sort' argument 1 names different: declaration 'base' definition 'a'. libsolv-0.7.32/src/qsort_r.c:102:17: note: Function 'solv_sort' argument 1 names different: declaration 'base' definition 'a'. libsolv-0.7.32/src/qsort_r.c:102:27: style:inconclusive: Function 'solv_sort' argument 2 names different: declaration 'nmemb' definition 'n'. [funcArgNamesDifferent] libsolv-0.7.32/src/util.h:38:42: note: Function 'solv_sort' argument 2 names different: declaration 'nmemb' definition 'n'. libsolv-0.7.32/src/qsort_r.c:102:27: note: Function 'solv_sort' argument 2 names different: declaration 'nmemb' definition 'n'. libsolv-0.7.32/src/qsort_r.c:102:37: style:inconclusive: Function 'solv_sort' argument 3 names different: declaration 'size' definition 'es'. [funcArgNamesDifferent] libsolv-0.7.32/src/util.h:38:56: note: Function 'solv_sort' argument 3 names different: declaration 'size' definition 'es'. libsolv-0.7.32/src/qsort_r.c:102:37: note: Function 'solv_sort' argument 3 names different: declaration 'size' definition 'es'. libsolv-0.7.32/src/qsort_r.c:102:59: style:inconclusive: Function 'solv_sort' argument 5 names different: declaration 'compard' definition 'thunk'. [funcArgNamesDifferent] libsolv-0.7.32/src/util.h:38:119: note: Function 'solv_sort' argument 5 names different: declaration 'compard' definition 'thunk'. libsolv-0.7.32/src/qsort_r.c:102:59: note: Function 'solv_sort' argument 5 names different: declaration 'compard' definition 'thunk'. libsolv-0.7.32/tools/apk2solv.c:36:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/apk2solv.c:70:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/transaction.c:583:60: style:inconclusive: Function 'transaction_classify_pkgs' argument 3 names different: declaration 'type' definition 'class'. [funcArgNamesDifferent] libsolv-0.7.32/src/transaction.h:111:72: note: Function 'transaction_classify_pkgs' argument 3 names different: declaration 'type' definition 'class'. libsolv-0.7.32/src/transaction.c:583:60: note: Function 'transaction_classify_pkgs' argument 3 names different: declaration 'type' definition 'class'. libsolv-0.7.32/src/transaction.c:32:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:33:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:33:17: style: Variable 'oas' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:33:23: style: Variable 'obs' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:74:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:75:10: style: Variable 'ti' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:121:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:212:25: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/transaction.c:212:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/transaction.c:228:32: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/transaction.c:228:48: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/transaction.c:376:17: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:403:14: style: Variable 'sq' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:449:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:470:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:473:13: style: Variable 'sa' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:473:18: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:509:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:585:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:632:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:669:13: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:727:65: style: Parameter 'multiversionmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/transaction.c:732:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:795:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:824:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/transaction.c:882:13: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/apk2solv.c:145:14: style: Local variable 'fp' shadows outer variable [shadowVariable] libsolv-0.7.32/tools/apk2solv.c:61:9: note: Shadowed declaration libsolv-0.7.32/tools/apk2solv.c:145:14: note: Shadow variable libsolv-0.7.32/tools/apk2solv.c:54:9: style: Variable 'manifest' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/appdata2solv.c:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/archpkgs2solv.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/archpkgs2solv.c:67:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/archrepo2solv.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/archrepo2solv.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/common_write.c:28:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUSETAGS_SHARE_NAME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/common_write.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/archpkgs2solv.c:53:9: style: Variable 'manifest' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/comps2solv.c:32:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/conda2solv.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/conda2solv.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONDA_ADD_WITH_SIGNATUREDATA [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/problems.c:245:8: style: Variable 'm' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:260:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1230:15: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1294:13: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1295:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1296:17: style: Variable 's1' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1297:17: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/problems.c:1370:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/cudftest.c:41:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVRCMP_COMPARE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/cudftest.c:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/deb2solv.c:36:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/deb2solv.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/cudftest.c:129:24: style: Variable 'ofp' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/tools/cudftest.c:128:7: note: ofp is assigned libsolv-0.7.32/tools/cudftest.c:129:24: note: ofp is overwritten libsolv-0.7.32/tools/cudftest.c:14:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/tools/cudftest.c:52:9: style: Variable 'cudfout' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/deb2solv.c:54:9: style: Variable 'manifest' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/deltainfoxml2solv.c:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/deltainfoxml2solv.c:50:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/dumpsolv.c:330:3: error: There is an unknown macro here somewhere. Configuration is required. If FOR_REPODATAS is a macro then please configure it. [unknownMacro] libsolv-0.7.32/tools/findfileconflicts.c:63:3: error: There is an unknown macro here somewhere. Configuration is required. If FOR_REPO_SOLVABLES is a macro then please configure it. [unknownMacro] libsolv-0.7.32/tools/helix2solv.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/installcheck.c:388:7: error: There is an unknown macro here somewhere. Configuration is required. If FOR_PROVIDES is a macro then please configure it. [unknownMacro] libsolv-0.7.32/tools/mdk2solv.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/mdk2solv.c:59:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/mergesolv.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/mergesolv.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/mergesolv.c:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repomdxml2solv.c:23:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repomdxml2solv.c:54:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVID_META [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repomdxml2solv.c:103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpmdb2solv.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpmdb2solv.c:99:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpmmd2solv.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpmmd2solv.c:65:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:480:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:740:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:802:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpms2solv.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpms2solv.c:80:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/rpmdb2solv.c:77:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/rpms2solv.c:60:9: style: Variable 'manifest' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/susetags2solv.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/susetags2solv.c:53:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVID_META [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/susetags2solv.c:82:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/repo2solv.c:767:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/testsolv.c:39:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/testsolv.c:55:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTCASE_RESULT_TRANSACTION [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/testsolv.c:97:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVER_DECISIONLIST_SOLVABLE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/testsolv.c:161:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOLVER_DECISIONLIST_SORTED [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/testsolv.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/updateinfoxml2solv.c:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/tools/updateinfoxml2solv.c:50:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/fmemopen.c:9:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/fmemopen.c:7:16: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/tools/susetags2solv.c:145:10: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/tools/susetags2solv.c:164:10: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/getopt.c:17:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/getopt.c:55:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/fnmatch.c:56:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_NOESCAPE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/fnmatch.c:169:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/fnmatch.c:302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PATHNAME [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/getopt.c:29:8: style: Variable 'optchar' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:214:20: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:250:16: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:254:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:261:51: style: Parameter 'installed' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:264:13: style: Variable 'sn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:268:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:281:75: style: Parameter 'multiversionmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:307:66: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:310:13: style: Variable 'sn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:314:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:328:84: style: Parameter 'multiversionmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:374:48: style: Parameter 'installedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:377:12: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:389:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:447:71: style: Parameter 'conflictsmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:452:7: style: Variable 'reqp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:453:7: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:530:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:556:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:558:13: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:582:59: style: Parameter 'installedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/suse.c:585:20: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/suse.c:585:32: style: Variable 'reqp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/fnmatch.c:187:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/win32/fnmatch.c:248:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/win32/fnmatch.c:277:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libsolv-0.7.32/tools/testsolv.c:308:11: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/tools/testsolv.c:220:15: note: Shadowed declaration libsolv-0.7.32/tools/testsolv.c:308:11: note: Shadow variable libsolv-0.7.32/tools/testsolv.c:417:18: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/tools/testsolv.c:220:15: note: Shadowed declaration libsolv-0.7.32/tools/testsolv.c:417:18: note: Shadow variable libsolv-0.7.32/tools/testsolv.c:153:52: style: Parameter 'lq' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/tools/testsolv.c:207:9: style: Variable 'showwhypkgstr' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regcomp.c:348:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:543:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EBRACK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:628:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:719:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DUP_MAX [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:737:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DUP_MAX [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:762:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:795:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:960:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:1111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:1142:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:1206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:1691:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:1838:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:2143:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:2248:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:2518:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:2630:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regcomp.c:2712:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regexec.c:182:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regexec.c:604:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regexec.c:938:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] libsolv-0.7.32/win32/regexec.c:1002:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] libsolv-0.7.32/src/solver.c:3424:17: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] libsolv-0.7.32/src/solver.c:3423:12: note: outer condition: a[0]-b[0] libsolv-0.7.32/src/solver.c:3424:17: note: identical inner condition: a[0]-b[0] libsolv-0.7.32/src/solver.c:983:7: style: Condition 'record_proof' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/solver.c:967:22: note: Assignment 'record_proof=1', assigned value is 1 libsolv-0.7.32/src/solver.c:983:7: note: Condition 'record_proof' is always true libsolv-0.7.32/src/rules.c:3209:11: style: Condition 'rid>0' is always true [knownConditionTrueFalse] libsolv-0.7.32/src/rules.c:3207:11: note: Assuming that condition 'rid<=0' is not redundant libsolv-0.7.32/src/rules.c:3209:11: note: Condition 'rid>0' is always true libsolv-0.7.32/src/solver.c:4117:10: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/solver.c:4108:8: note: p is assigned libsolv-0.7.32/src/solver.c:4117:10: note: p is overwritten libsolv-0.7.32/src/solver.c:4799:3: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/solver.c:4795:3: note: p is assigned libsolv-0.7.32/src/solver.c:4799:3: note: p is overwritten libsolv-0.7.32/src/solver.c:2022:10: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/src/solver.c:2015:6: note: Shadowed declaration libsolv-0.7.32/src/solver.c:2022:10: note: Shadow variable libsolv-0.7.32/src/solver.c:2195:10: style: Local variable 'installed' shadows outer variable [shadowVariable] libsolv-0.7.32/src/solver.c:2080:9: note: Shadowed declaration libsolv-0.7.32/src/solver.c:2195:10: note: Shadow variable libsolv-0.7.32/src/solver.c:2420:23: style: Local variable 'p' shadows outer variable [shadowVariable] libsolv-0.7.32/src/solver.c:2405:6: note: Shadowed declaration libsolv-0.7.32/src/solver.c:2420:23: note: Shadow variable libsolv-0.7.32/src/rules.c:2542:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/rules.c:2456:8: note: p is assigned libsolv-0.7.32/src/rules.c:2542:7: note: p is overwritten libsolv-0.7.32/src/rules.c:2542:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/rules.c:2480:8: note: p is assigned libsolv-0.7.32/src/rules.c:2542:7: note: p is overwritten libsolv-0.7.32/src/rules.c:2542:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/rules.c:2500:8: note: p is assigned libsolv-0.7.32/src/rules.c:2542:7: note: p is overwritten libsolv-0.7.32/src/rules.c:2542:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/rules.c:2519:8: note: p is assigned libsolv-0.7.32/src/rules.c:2542:7: note: p is overwritten libsolv-0.7.32/src/rules.c:2551:7: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libsolv-0.7.32/src/rules.c:2542:7: note: p is assigned libsolv-0.7.32/src/rules.c:2551:7: note: p is overwritten libsolv-0.7.32/src/solver.c:48:12: style: Variable 'whyp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:644:13: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:683:7: style: Variable 'decisionmap' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:835:23: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:875:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:964:7: style: Variable 'decisionmap' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1139:51: style: Parameter 'noupdate' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:1141:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1144:12: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1197:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1263:46: style: Parameter 'dq' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:1312:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1800:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1843:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1846:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1862:11: style: Variable 'specialupdaters' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:1906:15: style: Variable 'rrf' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2012:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2013:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2014:7: style: Variable 'specialupdaters' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2078:10: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2080:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2195:10: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2369:26: style: Parameter 'solv' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:2383:33: style: Parameter 'solv' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:2420:8: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2488:16: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2646:16: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2699:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2702:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:2847:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3143:15: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3295:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3342:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3356:14: style: Variable 'si' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3384:16: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3419:71: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'transform_update_targets_sortfn' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/solver.c:3443:85: note: You might need to cast the function pointer here libsolv-0.7.32/src/solver.c:3419:71: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/solver.c:3431:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3470:37: style: Parameter 'addedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/solver.c:3472:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3475:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3587:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:3620:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4123:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4469:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4471:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4511:16: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4555:16: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4636:16: style: Variable 'sugp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/solver.c:4770:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1915:18: style: Local variable 'ps' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:1860:13: note: Shadowed declaration libsolv-0.7.32/src/rules.c:1915:18: note: Shadow variable libsolv-0.7.32/src/rules.c:1989:15: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:1952:13: note: Shadowed declaration libsolv-0.7.32/src/rules.c:1989:15: note: Shadow variable libsolv-0.7.32/src/rules.c:2018:15: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:1952:13: note: Shadowed declaration libsolv-0.7.32/src/rules.c:2018:15: note: Shadow variable libsolv-0.7.32/src/rules.c:3492:18: style: Local variable 's' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:3447:13: note: Shadowed declaration libsolv-0.7.32/src/rules.c:3492:18: note: Shadow variable libsolv-0.7.32/src/rules.c:3718:10: style: Local variable 'p' shadows outer argument [shadowArgument] libsolv-0.7.32/src/rules.c:3713:40: note: Shadowed declaration libsolv-0.7.32/src/rules.c:3718:10: note: Shadow variable libsolv-0.7.32/src/rules.c:3771:11: style: Local variable 'i' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:3761:7: note: Shadowed declaration libsolv-0.7.32/src/rules.c:3771:11: note: Shadow variable libsolv-0.7.32/src/rules.c:3908:8: style: Local variable 'p2' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:3864:10: note: Shadowed declaration libsolv-0.7.32/src/rules.c:3908:8: note: Shadow variable libsolv-0.7.32/src/rules.c:3915:8: style: Local variable 'p2' shadows outer variable [shadowVariable] libsolv-0.7.32/src/rules.c:3864:10: note: Shadowed declaration libsolv-0.7.32/src/rules.c:3915:8: note: Shadow variable libsolv-0.7.32/src/rules.c:37:29: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:41:15: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:65:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:66:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:67:7: style: Variable 'ad' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:67:12: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:103:36: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:103:46: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:176:11: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:177:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:361:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:361:17: style: Variable 'sn' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:734:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:743:12: style: Variable 'reqp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:744:12: style: Variable 'conp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:745:12: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:746:12: style: Variable 'recp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:747:12: style: Variable 'sugp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1103:18: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1204:12: style: Variable 'supp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1319:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:1321:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1398:17: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1435:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1625:43: style: Parameter 'addedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:1628:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1632:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1632:22: style: Variable 'bests' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1716:15: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1772:15: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1805:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1860:13: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1861:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1862:21: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1878:8: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1896:11: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:1923:9: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2061:39: style: Parameter 'addedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:2064:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2066:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2068:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2150:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2217:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2237:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2258:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2279:64: style: Parameter 'addedmap' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:2308:12: style: Variable 's2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2325:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2374:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2375:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2420:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2623:16: style: Variable 'rd' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2685:10: style: Variable 'job' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2688:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2745:10: style: Variable 'job' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2748:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2852:10: style: Variable 'job' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2855:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2914:8: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2915:8: style: Variable 'odp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:2954:63: style: Parameter 'dp' can be declared as pointer to const. However it seems that 'solver_allruleinfos_cmp' is a callback function, if 'dp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libsolv-0.7.32/src/rules.c:3028:58: note: You might need to cast the function pointer here libsolv-0.7.32/src/rules.c:2954:63: note: Parameter 'dp' can be declared as pointer to const libsolv-0.7.32/src/rules.c:3205:26: style: Parameter 'solv' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:3241:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:3419:16: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:3492:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:3666:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:3713:31: style: Parameter 'solv' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:3737:22: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/src/rules.c:3743:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:3756:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4008:20: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4023:14: style: Variable 'obsp2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4039:14: style: Variable 'obsp2' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4108:14: style: Variable 'opp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4132:20: style: Variable 'obsp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4270:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4271:9: style: Variable 'installed' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/src/rules.c:4327:9: style: Variable 'pool' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regcomp.c:541:25: error: Invalid mbtowc() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] libsolv-0.7.32/win32/regcomp.c:576:27: error: Invalid mbtowc() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] libsolv-0.7.32/win32/regcomp.c:920:25: error: Invalid mbtowc() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] libsolv-0.7.32/src/solver.c:4779:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/solver.c:4779:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/solver.c:4799:3: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/solver.c:4799:3: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/win32/regcomp.c:2517:23: style: Condition 'trans->state==NULL' is always true [knownConditionTrueFalse] libsolv-0.7.32/win32/regcomp.c:2495:26: note: Assuming that condition 'trans->state!=NULL' is not redundant libsolv-0.7.32/win32/regcomp.c:2517:23: note: Condition 'trans->state==NULL' is always true libsolv-0.7.32/src/rules.c:2551:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2551:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2580:4: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2635:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2635:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2664:7: style: Variable 'p' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:2664:7: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/src/rules.c:3054:23: style: Variable 'type' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/win32/regcomp.c:331:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regcomp.c:1329:18: style: Variable 'lit' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regcomp.c:2060:13: style: Parameter 'tags' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regcomp.c:2137:18: style: Variable 'lit' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regcomp.c:2472:27: style: Parameter 'offs' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regcomp.c:1176:7: style: struct member 'tre_tag_states_t::next_tag' is never used. [unusedStructMember] libsolv-0.7.32/win32/regcomp.c:1657:19: style: Variable 'minimal_tag' is assigned a value that is never used. [unreadVariable] libsolv-0.7.32/win32/regexec.c:99:50: style: Parameter 'tag_directions' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regexec.c:100:19: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regexec.c:100:33: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regexec.c:125:41: style: Parameter 'classes' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regexec.c:191:8: style: Variable 'tag_i' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regexec.c:723:12: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regexec.c:931:39: style: Parameter 'tags' can be declared as pointer to const [constParameterPointer] libsolv-0.7.32/win32/regexec.c:935:8: style: Variable 'parents' can be declared as pointer to const [constVariablePointer] libsolv-0.7.32/win32/regexec.c:999:15: style: Variable 'tnfa' can be declared as pointer to const [constVariablePointer] diff: head libsolv-0.7.32/examples/solv/repoinfo.c:128:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] 2.17.0 libsolv-0.7.32/ext/repo_appdata.c:540:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 libsolv-0.7.32/ext/repo_arch.c:533:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 libsolv-0.7.32/ext/repo_products.c:325:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 libsolv-0.7.32/ext/repo_releasefile_products.c:143:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 libsolv-0.7.32/ext/repo_zyppdb.c:170:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head libsolv-0.7.32/ext/solv_xfopen.c:52:3: error: #error Need to implement custom I/O [preprocessorErrorDirective] 2.17.0 libsolv-0.7.32/src/pool.c:385:17: style: Condition '(Id)o<0' is always false [knownConditionTrueFalse] libsolv-0.7.32/src/pool.c:383:11: note: Assuming that condition '!o' is not redundant libsolv-0.7.32/src/pool.c:382:9: note: o is assigned 'pool->whatprovides[id]' here. libsolv-0.7.32/src/pool.c:385:17: note: Condition '(Id)o<0' is always false head libsolv-0.7.32/src/repodata.c:1599:59: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] DONE