Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint: redundant conditional operator
Oclint was warning: src/lib/libast/cdt/dtrehash.c:513:16: redundant conditional operator [redundant|P3] src/lib/libast/cdt/dtrehash.c:617:32: redundant conditional operator [redundant|P3] Those are due to the convoluted HSRCH macro. Turn it, and related macros, into static inline functions. Which both eliminates those warnings and makes it harder to misuse those macros/functions. It also makes it easier for people to understand the logic of those macros/functions.
- Loading branch information