Cleanup: fix cppcheck errors
[urcu.git] / tests / test_uatomic.c
index 4f48276ae53d147897cb2b5095dd2510170fc815..804ce7bd8a79b1945f9fcd9ea5098d3f34a7a971 100644 (file)
 #include <urcu/uatomic.h>
 
 struct testvals {
+#ifdef UATOMIC_HAS_ATOMIC_BYTE
        unsigned char c;
+#endif
+#ifdef UATOMIC_HAS_ATOMIC_SHORT
        unsigned short s;
+#endif
        unsigned int i;
        unsigned long l;
 };
This page took 0.021832 seconds and 4 git commands to generate.