From d422bfddee23069071a5d911ebca73f6c0b403ed Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 10 Dec 2016 17:10:42 +0100 Subject: Fix warnings reported by clang. --- test/atomictest.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 i; // note: i is initialized with garbage + (void)i; // prevent compiler 'unused' warning } void nonPodAtomicCanBeDefaultInitialized() { -- cgit v1.2.3