Commit e1ab72a0 authored by Lioncash's avatar Lioncash
Browse files

tests/core_timing: Remove pragma optimize(off)

I made a review comment about this in the PR that this was introduced
in (#3955, commit 71c47792), but it
seems to have been missed.

We shouldn't be using this pragma here because it's MSVC specific. This
causes warnings on other compilers.

The test it's surrounding is *extremely* dubious, but for the sake of
silencing warnings on other compilers, we can mark "placebo" as volatile
and be on with it.
parent 9b754817
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment