Both gcc and clang produce a lot of warnings when avahi is compiled. They should be fixed to for example be able to pass -Werror on the CI to catch stuff automatically.
Prompted by #592 (comment) and some other PRs where new warnings weren't caught automatically.