Mark a variable as maybe-unused to prevent a -Wunused-but-set-variable
warning in optimized builds where asserts are removed.Test/first commit
to check setup and understand patch submission process.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Alternatively, we can surround the definition and use of Listed with #ifndef NDEBUG blocks, but it would be ugly to have two of those IMO.