From: Colin Vidal Date: Wed, 12 Nov 2025 10:31:37 +0000 (+0100) Subject: new: dev: Add spatch to detect implicit bool/int/result cast X-Git-Tag: v9.21.16~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2affdbce199715835a2c84f25fd9c61318985883;p=thirdparty%2Fbind9.git new: dev: Add spatch to detect implicit bool/int/result cast Detection of implicit cast from a boolean into an int, or an isc_result_t into a boolean (either in an assignement or return position). If such pattern is found, a warning comment is added into the code (and the CI will fails) so the error can be spotted and manually fixed. Merge branch 'colin/cocci-detect-iscresult-int-implicit-casts' into 'main' See merge request isc-projects/bind9!11095 --- 2affdbce199715835a2c84f25fd9c61318985883