diff options
| author | Martin Hořeňovský | 2020-02-22 22:51:23 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-02-26 16:07:39 +0100 |
| commit | 8d1e7ca8965e13ed6e12d7e875516f6e240f2bce (patch) | |
| tree | bc87e60f2a9c417c12976d6215ec71477ff82b75 /src/catch2/catch_main.cpp | |
| parent | e601a5dc4f5ad6b1cc83ffd619af8d7efa970044 (diff) | |
| download | catch3-8d1e7ca8965e13ed6e12d7e875516f6e240f2bce.tar.gz | |
Suppress unused variable warning for template test cases
The variable initialization has test registration as a side-effect,
but as far as GCC is concerned, the variable itself is unused.
Because the macro substitution always happens at global scope, we
cannot use cast to `void` as is usually done.
Diffstat (limited to 'src/catch2/catch_main.cpp')
0 files changed, 0 insertions, 0 deletions