diff.c
5.11 KB
-
tests: threads::diff: fix warning for unused variable · 13c275ab
The threads::diff test suite has a static variable `_retries`, which is used on Windows platforms only. As it is unused on other systems, the compiler throws a warning there. Fix the warning by wrapping the declaration in an ifdef.
Patrick Steinhardt committed