Commit graph

1 commit

Author SHA1 Message Date
Colin Vidal
6bc903263a 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.

(cherry picked from commit 754595ea2d)
2025-11-12 10:32:19 +00:00