2026-03-29 04:11 ftp://ftp.de.debian.org/debian/pool/main/l/lensfun/lensfun_0.3.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: e06e98f (2026-03-28 10:25:12 +0100) count: 475 475 elapsed-time: 8.3 8.2 head-timing-info: old-timing-info: head results: lensfun-0.3.4/apps/lenstool/image.cpp:151:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_COLOR_MASK_ALPHA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/apps/lenstool/image.cpp:250:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_COLOR_TYPE_RGB_ALPHA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::red' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::green' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::blue' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:59:3: warning: Member variable 'RGBpixel::alpha' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::red' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::green' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::blue' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:62:3: warning: Member variable 'RGBpixel::alpha' is not initialized in the copy constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::filesize' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetR' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetG' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGetB' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::fGet' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::width' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/image.cpp:45:8: warning: Member variable 'Image::height' is not initialized in the constructor. [uninitMemberVar] lensfun-0.3.4/apps/lenstool/rgbpixel.h:79:7: style:inconclusive: Technically the member function 'RGBpixel::Intensity' can be const. [functionConst] lensfun-0.3.4/apps/lenstool/image.cpp:58:5: warning: Possible leak in public function. The pointer 'file' is not deallocated before it is allocated. [publicAllocationError] lensfun-0.3.4/apps/lenstool/rgbpixel.h:60:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:64:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:64:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:71:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:71:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:77:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:77:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:89:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/rgbpixel.h:89:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/image.cpp:283:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/image.cpp:361:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetR_n' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:317:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:361:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:368:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/apps/lenstool/image.cpp:372:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetG_n' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:318:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:372:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:379:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/apps/lenstool/image.cpp:383:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetB_n' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:319:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:383:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:390:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/apps/lenstool/image.cpp:394:27: style: Parameter 'This' can be declared as pointer to const. However it seems that 'Get_n' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:320:20: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:394:27: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:401:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/apps/lenstool/image.cpp:408:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetR_b' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:323:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:408:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:428:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetG_b' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:324:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:428:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:448:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetB_b' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:325:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:448:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:468:27: style: Parameter 'This' can be declared as pointer to const. However it seems that 'Get_b' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:326:20: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:468:27: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:502:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetR_l' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:329:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:502:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:561:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetG_l' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:330:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:561:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:620:37: style: Parameter 'This' can be declared as pointer to const. However it seems that 'GetB_l' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:331:21: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:620:37: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/image.cpp:679:27: style: Parameter 'This' can be declared as pointer to const. However it seems that 'Get_l' is a callback function, if 'This' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lensfun-0.3.4/apps/lenstool/image.cpp:332:20: note: You might need to cast the function pointer here lensfun-0.3.4/apps/lenstool/image.cpp:679:27: note: Parameter 'This' can be declared as pointer to const lensfun-0.3.4/apps/lenstool/lenstool.cpp:133:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lensfun-0.3.4/apps/lenstool/lenstool.cpp:354:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/apps/lenstool/lenstool.cpp:275:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] lensfun-0.3.4/apps/lenstool/lenstool.cpp:108:26: style: Variable 'long_options' can be declared as const array [constVariable] lensfun-0.3.4/docs/example/example.c:20:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/docs/example/tfun.cpp:122:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/docs/example/tfun.cpp:100:26: style: Variable 'long_options' can be declared as const array [constVariable] lensfun-0.3.4/libs/getopt/getopt.c:437:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/getopt/getopt.c:598:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/auxfun.cpp:447:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/auxfun.cpp:510:21: style: The member function 'lfFuzzyStrCmp::Split' can be static. [functionStatic] lensfun-0.3.4/libs/lensfun/lensfunprv.h:409:10: note: The member function 'lfFuzzyStrCmp::Split' can be static. lensfun-0.3.4/libs/lensfun/auxfun.cpp:510:21: note: The member function 'lfFuzzyStrCmp::Split' can be static. lensfun-0.3.4/libs/lensfun/auxfun.cpp:503:21: style: The member function 'lfFuzzyStrCmp::Free' can be static. [functionStatic] lensfun-0.3.4/libs/lensfun/lensfunprv.h:410:10: note: The member function 'lfFuzzyStrCmp::Free' can be static. lensfun-0.3.4/libs/lensfun/auxfun.cpp:503:21: note: The member function 'lfFuzzyStrCmp::Free' can be static. lensfun-0.3.4/libs/lensfun/auxfun.cpp:490:5: warning: Class 'lfFuzzyStrCmp' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] lensfun-0.3.4/libs/lensfun/auxfun.cpp:490:5: warning: Class 'lfFuzzyStrCmp' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] lensfun-0.3.4/libs/lensfun/auxfun.cpp:113:23: style: Condition 'lang' is always true [knownConditionTrueFalse] lensfun-0.3.4/libs/lensfun/auxfun.cpp:104:15: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:115:11: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:136:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:164:17: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:183:14: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:204:14: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:558:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:565:42: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/auxfun.cpp:178:17: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] lensfun-0.3.4/libs/lensfun/auxfun.cpp:313:9: style: The scope of the variable 'm' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/auxfun.cpp:313:16: style: The scope of the variable 'cmp' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/auxfun.cpp:313:11: style: Variable 'm' is assigned a value that is never used. [unreadVariable] lensfun-0.3.4/libs/lensfun/auxfun.cpp:313:20: style: Variable 'cmp' is assigned a value that is never used. [unreadVariable] lensfun-0.3.4/libs/lensfun/camera.cpp:21:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:38:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Model [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:61:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Variant [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:66:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mount [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/camera.cpp:101:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/camera.cpp:102:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/camera.cpp:101:15: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/camera.cpp:102:15: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:23:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HomeDataDir [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:37:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:81:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_NO_ERROR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:111:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserUpdatesDir [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:135:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_ERROR_ACCES [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:209:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_MIN_DATABASE_VERSION [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:696:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:743:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:789:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:802:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HomeDataDir [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:833:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1111:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cameras [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1150:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_SEARCH_LOOSE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1175:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cameras [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1251:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_SEARCH_LOOSE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1301:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lenses [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1308:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1325:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1331:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1337:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cameras [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:1343:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lenses [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/database.cpp:27:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:29:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:31:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:37:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:38:41: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:39:23: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:41:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:42:42: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:43:23: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:45:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:46:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:47:23: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:179:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:546:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:607:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:748:36: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:748:58: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:749:36: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:749:59: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:750:36: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:750:58: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:775:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:776:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:777:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:789:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:790:32: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:791:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1085:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1086:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1111:42: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1117:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1121:22: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1122:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1125:28: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1127:38: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1134:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1135:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1153:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1155:52: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1175:26: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1200:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1201:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1210:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1211:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1261:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1263:49: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1265:32: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1301:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1308:42: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1312:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1325:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1331:9: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1337:9: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1343:9: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/database.cpp:1259:9: style: The scope of the variable 'score' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/database.cpp:1270:29: style: Local variable 'i' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/lensfun/database.cpp:1261:17: note: Shadowed declaration lensfun-0.3.4/libs/lensfun/database.cpp:1270:29: note: Shadow variable lensfun-0.3.4/libs/lensfun/database.cpp:1085:15: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1086:15: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1134:15: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1135:15: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1200:13: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1201:13: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1210:13: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/database.cpp:1211:13: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/lens.cpp:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Type [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:136:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Maker [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:237:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Model [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:243:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mounts [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:348:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Model [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:640:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibDistortion [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:651:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibDistortion [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:669:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibTCA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:680:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibTCA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:700:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibVignetting [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:711:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibVignetting [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:729:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibCrop [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:740:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibCrop [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:758:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibFov [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:769:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibFov [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:787:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibRealFocal [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:798:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibRealFocal [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:872:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibDistortion [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:947:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibTCA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:1044:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibVignetting [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:1103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibCrop [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:1171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibFov [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:1232:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalibRealFocal [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:1346:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_UNKNOWN [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/lens.cpp:123:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:124:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:125:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:126:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:127:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:128:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:129:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:1318:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:1319:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/lens.cpp:1084:18: style: Local variable 'i' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/lensfun/lens.cpp:1060:14: note: Shadowed declaration lensfun-0.3.4/libs/lensfun/lens.cpp:1084:18: note: Shadow variable lensfun-0.3.4/libs/lensfun/lens.cpp:1318:13: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/lens.cpp:1319:13: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/lens.cpp:638:34: style: union member 'Anonymous2::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:649:34: style: union member 'Anonymous3::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:667:27: style: union member 'Anonymous4::ctca' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:678:27: style: union member 'Anonymous5::ctca' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:698:34: style: union member 'Anonymous6::cv' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:709:34: style: union member 'Anonymous7::cv' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:727:28: style: union member 'Anonymous8::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:738:28: style: union member 'Anonymous9::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:756:27: style: union member 'Anonymous10::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:767:27: style: union member 'Anonymous11::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:785:33: style: union member 'Anonymous12::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/lens.cpp:796:33: style: union member 'Anonymous13::cd' is never used. [unusedStructMember] lensfun-0.3.4/libs/lensfun/mod-color.cpp:16:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-color.cpp:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormScale [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-color.cpp:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-color.cpp:209:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_CR_UNKNOWN [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-color.cpp:245:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_CR_UNKNOWN [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-color.cpp:126:10: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-color.cpp:134:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-color.cpp:137:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-color.cpp:140:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-color.cpp:261:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-color.cpp:295:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:20:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:34:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ModifyCoord_UnDist_Poly3 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxX [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:122:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:167:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:223:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ModifyCoord_Scale [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:230:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NormalizedInMillimeters [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:422:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:122:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:125:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:139:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:142:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:167:35: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:169:10: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:422:10: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:439:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:442:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:460:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:471:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:520:23: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:536:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:576:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:595:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:636:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:658:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:682:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:703:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:704:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:720:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:721:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:736:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:737:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:759:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:760:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:784:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:785:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:812:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:826:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:827:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:863:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:864:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:885:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:886:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:897:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:898:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:909:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:910:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:939:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:940:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:976:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:977:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1010:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1011:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1028:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1029:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1056:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1082:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1083:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1112:25: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1113:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:25:11: style: The scope of the variable 'tmp' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:986:16: style: The scope of the variable 'cosc' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:767:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:792:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:834:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:947:22: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lensfun-0.3.4/libs/lensfun/mod-coord.cpp:1119:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:16:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:36:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ModifyCoord_UnTCA_Linear [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:76:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:76:10: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:95:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:98:43: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:117:11: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:117:57: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:137:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:140:40: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:144:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:147:43: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:165:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:180:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:195:26: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:275:26: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mod-subpix.cpp:21:11: style: The scope of the variable 'tmp' can be reduced. [variableScope] lensfun-0.3.4/libs/lensfun/modifier.cpp:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_DIST_MODEL_POLY3 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/modifier.cpp:39:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_MODIFY_TCA [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/modifier.cpp:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/modifier.cpp:272:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubpixelCallbacks [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/modifier.cpp:257:31: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:259:47: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:267:23: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:279:26: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:280:26: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:297:34: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/modifier.cpp:279:21: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/modifier.cpp:280:21: style: Variable 'd2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/mount.cpp:21:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Compat [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/lensfun/mount.cpp:22:20: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mount.cpp:66:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mount.cpp:67:19: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/libs/lensfun/mount.cpp:66:14: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/mount.cpp:67:14: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/lensfun/windows/auxfun.cpp:18:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/regexec.c:76:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/regexec.c:167:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/regexec.c:69:32: style: Parameter 'tags' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/regexec.c:73:8: style: Variable 'parents' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/regexec.c:141:15: style: Variable 'tnfa' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/regexec.c:148:15: style: Variable 'tnfa' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/regexec.c:219:15: style: Variable 'tnfa' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/regexec.c:256:15: style: Variable 'tnfa' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-compile.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:136:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:706:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:849:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1253:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1367:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1837:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1918:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:2282:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRE_CONFIG_VERSION [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:2302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-compile.c:1661:23: style: Condition 'trans->state==NULL' is always true [knownConditionTrueFalse] lensfun-0.3.4/libs/regex/tre-compile.c:1638:26: note: Assuming that condition 'trans->state!=NULL' is not redundant lensfun-0.3.4/libs/regex/tre-compile.c:1661:23: note: Condition 'trans->state==NULL' is always true lensfun-0.3.4/libs/regex/tre-compile.c:625:14: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] lensfun-0.3.4/libs/regex/tre-compile.c:623:14: note: status is assigned lensfun-0.3.4/libs/regex/tre-compile.c:625:14: note: status is overwritten lensfun-0.3.4/libs/regex/tre-compile.c:943:7: style: Local variable 'i' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/regex/tre-compile.c:859:7: note: Shadowed declaration lensfun-0.3.4/libs/regex/tre-compile.c:943:7: note: Shadow variable lensfun-0.3.4/libs/regex/tre-compile.c:259:18: style: Variable 'lit' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-compile.c:734:18: style: Variable 'lit' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-compile.c:1135:13: style: Parameter 'tags' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/tre-compile.c:1615:27: style: Parameter 'offs' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/tre-compile.c:1901:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-compile.c:2083:27: style: Variable 'j' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-compile.c:1987:13: warning: Size of pointer 'minimal_tags' used instead of size of its data. [pointerSize] lensfun-0.3.4/libs/regex/tre-compile.c:127:7: style: struct member 'tre_tag_states_t::next_tag' is never used. [unusedStructMember] lensfun-0.3.4/libs/regex/tre-compile.c:669:19: style: Variable 'minimal_tag' is assigned a value that is never used. [unreadVariable] lensfun-0.3.4/libs/regex/tre-match-utils.h:178:50: style: Parameter 'tag_directions' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/tre-match-utils.h:179:13: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/tre-match-utils.h:179:22: style: Parameter 't2' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:225:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:441:49: style:inconclusive: Boolean expression '!REG_NOSUB' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:441:49: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:389:30: style: Local variable 'trans_i' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:260:26: note: Shadowed declaration lensfun-0.3.4/libs/regex/tre-match-backtrack.c:389:30: note: Shadow variable lensfun-0.3.4/libs/regex/tre-match-backtrack.c:249:8: style: Variable 'next_tags' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:367:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-match-backtrack.c:590:12: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-match-parallel.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-match-parallel.c:379:12: style: Local variable 'i' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/regex/tre-match-parallel.c:146:17: note: Shadowed declaration lensfun-0.3.4/libs/regex/tre-match-parallel.c:379:12: note: Shadow variable lensfun-0.3.4/libs/regex/tre-match-parallel.c:403:10: style: Local variable 'tmp_iptr' shadows outer variable [shadowVariable] lensfun-0.3.4/libs/regex/tre-match-parallel.c:151:8: note: Shadowed declaration lensfun-0.3.4/libs/regex/tre-match-parallel.c:403:10: note: Shadow variable lensfun-0.3.4/libs/regex/tre-match-parallel.c:145:8: style: Variable 'tag_i' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-parse.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:141:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:268:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:435:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:619:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_UNGREEDY [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:946:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_OK [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-parse.c:99:39: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] lensfun-0.3.4/libs/regex/tre-parse.c:1466:49: style: Condition 'ctx->rere_end' is always true [knownConditionTrueFalse] lensfun-0.3.4/libs/regex/tre-parse.c:1458:46: note: Assuming that condition 'ctx->rere_end' is not redundant lensfun-0.3.4/libs/regex/tre-parse.c:1466:49: note: Condition 'ctx->rere_end' is always true lensfun-0.3.4/libs/regex/tre-parse.c:177:18: style: Variable 'l_a' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-parse.c:177:38: style: Variable 'l_b' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/libs/regex/tre-parse.c:1134:10: style: Variable 'tmp_re' is assigned a value that is never used. [unreadVariable] lensfun-0.3.4/libs/regex/tre-stack.c:94:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] lensfun-0.3.4/libs/regex/tre-stack.c:76:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/libs/regex/xmalloc.c:158:17: style: Condition 'item->ptr!=ptr' is always false [knownConditionTrueFalse] lensfun-0.3.4/libs/regex/xmalloc.c:153:20: note: Assuming that condition 'item->ptr!=ptr' is not redundant lensfun-0.3.4/libs/regex/xmalloc.c:158:17: note: Condition 'item->ptr!=ptr' is always false lensfun-0.3.4/libs/regex/xmalloc.c:216:18: style: Variable 'item' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_database.cpp:79:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier.cpp:21:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier.cpp:47:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_UNKNOWN [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier.cpp:88:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_UNKNOWN [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier.cpp:130:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_U8 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_U8 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_U16 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_U32 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_F32 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_F64 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:101:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_color.cpp:179:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] lensfun-0.3.4/tests/test_modifier_color.cpp:97:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:125:30: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:130:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:144:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:148:18: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:220:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:255:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_color.cpp:81:38: style: Parameter 'lfFix' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/tests/test_modifier_color.cpp:81:59: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/tests/test_modifier_color.cpp:87:39: style: Parameter 'lfFix' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/tests/test_modifier_color.cpp:87:60: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] lensfun-0.3.4/tests/test_modifier_color.cpp:130:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:47:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:113:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:43:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:72:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:87:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:143:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:190:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:72:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_PF_F32 [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:113:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:45:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:72:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:87:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:144:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:190:29: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:72:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:46:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:110:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:42:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:69:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:84:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:166:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:69:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_modifier_subpix.cpp:47:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LF_RECTILINEAR [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_subpix.cpp:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] lensfun-0.3.4/tests/test_modifier_subpix.cpp:113:3: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] lensfun-0.3.4/tests/test_modifier_subpix.cpp:43:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_subpix.cpp:72:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_subpix.cpp:87:24: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_subpix.cpp:143:21: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_subpix.cpp:185:27: style: C-style pointer casting [cstyleCast] lensfun-0.3.4/tests/test_modifier_subpix.cpp:72:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier.cpp:9:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_color.cpp:56:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_distortion.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_geometry.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_coord_scale.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_database.cpp:5:9: error: The one definition rule is violated, different classes/structs have the same name 'lfFixture' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_subpix.cpp:24:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_database.cpp:5:9: note: The one definition rule is violated, different classes/structs have the same name 'lfFixture' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: error: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' [ctuOneDefinitionRuleViolation] lensfun-0.3.4/tests/test_modifier_subpix.cpp:32:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' lensfun-0.3.4/tests/test_modifier_color.cpp:64:9: note: The one definition rule is violated, different classes/structs have the same name 'lfTestParams' diff: DONE