Error: CPPCHECK_WARNING (CWE-758): [#def1] zimg-release-3.0.6/src/zimg/depth/depth_convert.cpp:70: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement # 68| return integer_to_integer<uint16_t, uint16_t>; # 69| else # 70|-> error::throw_<error::InternalError>("no conversion between pixel types"); # 71| } # 72| Error: CPPCHECK_WARNING (CWE-758): [#def2] zimg-release-3.0.6/src/zimg/depth/dither.cpp:106: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement # 104| return dither_ordered<float, uint16_t>; # 105| else # 106|-> error::throw_<error::InternalError>("no conversion between pixel types"); # 107| } # 108| Error: CPPCHECK_WARNING (CWE-758): [#def3] zimg-release-3.0.6/src/zimg/graph/graphnode.cpp:800: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement # 798| return ztd::make_unique<FilterNodeGrey<3, false>>(id, filter, parents, output_planes); # 799| else # 800|-> error::throw_<error::InternalError>("must produce output plane"); # 801| } # 802| }
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-238.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | zimg-3.0.6-2.fc44 |
| store-results-to | /tmp/tmpds9bpotw/zimg-3.0.6-2.fc44.tar.xz |
| time-created | 2025-10-28 20:47:10 |
| time-finished | 2025-10-28 20:48:53 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpds9bpotw/zimg-3.0.6-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpds9bpotw/zimg-3.0.6-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |