Prevent variables from being left unused by conditional compilation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rOMP OpenMP
Event Timeline
Comment Actions
The call must not be put into conditional compilation. As discussed in D50774 there are two options:
- Guard the variable definition and assignment (the first line) by preprocessor guards.
- Add a (void) *_status; to silence the warning.
I think the latter one is used many times in Clang, so I'd favor that.