Modify thread-lock lock testing code to avoid Coverity warnings.
Collapse the tests into the _store_locks and _clear_locks functions, otherwise Coverity will complain about the assignment as part of a test, as well as the side-effects only existing in development builds (which is intentional).
Please register or sign in to comment