2025-07-21 10:05 ftp://ftp.de.debian.org/debian/pool/main/d/displaycal/displaycal_3.7.1.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=python --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.12-9-pve-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.18.0 head-info: 140480f (2025-07-21 08:45:09 +0200) count: 4 4 elapsed-time: 0.0 0.0 head-timing-info: old-timing-info: head results: DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1119:31: style: Condition '(paths=get_displays())==NULL' is always true [knownConditionTrueFalse] DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:235:21: note: Assignment 'disps=NULL', assigned value is 0 DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1119:27: note: Calling function 'get_displays' returns 0 DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1119:31: note: Condition '(paths=get_displays())==NULL' is always true DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1293:9: style: Condition 'dp!=NULL' is always false [knownConditionTrueFalse] DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:235:21: note: Assignment 'disps=NULL', assigned value is 0 DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1291:19: note: Calling function 'get_displays' returns 0 DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1291:19: note: Assignment 'dp=get_displays()', assigned value is 0 DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1293:9: note: Condition 'dp!=NULL' is always false DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1086:32: style:inconclusive: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. [funcArgNamesDifferent] DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:96:32: note: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1086:32: note: Function 'free_disppaths' argument 1 names different: declaration 'paths' definition 'disps'. DisplayCAL-3.7.1.4/DisplayCAL/RealDisplaySizeMM.c:1189:55: style: Parameter 'disp' can be declared as pointer to const [constParameterPointer] diff: DONE