diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-10 17:10:42 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-10 17:10:42 +0100 |
commit | d422bfddee23069071a5d911ebca73f6c0b403ed (patch) | |
tree | ce10ee6112d07c4f4fa385797ab5c862666af50d /test | |
parent | 796882bcc5314c0bb095fcad0a6ffa30a6122bae (diff) |
Fix warnings reported by clang.
Diffstat (limited to 'test')
-rw-r--r-- | test/atomictest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/atomictest.cc b/test/atomictest.cc index aa1f12a..89c0295 100644 --- a/test/atomictest.cc +++ b/test/atomictest.cc @@ -69,6 +69,7 @@ class AtomicTest void podAtomicCanBeDefaultInitialized() { Atomic<int> i; // note: i is initialized with garbage + (void)i; // prevent compiler 'unused' warning } void nonPodAtomicCanBeDefaultInitialized() { |