Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unused function warning in 'mult_frac'
When compiling with clang, the following warning message was generated: src/utils.c:35:24: warning: unused function 'mult_frac' [-Wunused-function] 35 | static inline uint64_t mult_frac(uint64_t x, uint64_t n, uint64_t d) | ^~~~~~~~~ 1 warning generated. To prevent this warning, a preprocessor condition ('#if !defined(HAVE_POSIX_TIMER)') was added, ensuring the function is only compiled when necessary. Reported-by: Kuan-Wei Chiu <[email protected]>
- Loading branch information