Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gcc unused value warning in FreeBSD simd.h
The macros `simd_stat_init()` and `simd_stat_fini()` in FreeBSD's `simd.h` are defined as zero, but they are actually only used as statements. Replace the definitions with `do {} while (0)` instead, to avoid gcc `-Wunused-value` warnings. Reviewed-by: Tino Reichardt <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Toomas Soome <[email protected]> Signed-off-by: Dimitry Andric <[email protected]> Closes openzfs#16693
- Loading branch information