I added a version of this to ChecksumBench.cpp to avoid unused variable warnings (treated as ...
11 years, 9 months ago
(2013-01-31 21:57:54 UTC)
#1
I added a version of this to ChecksumBench.cpp to avoid unused variable warnings
(treated as errors). It seems like it might be more generally useful to have
around.
This is how boost does it as well, so that's a vote of confidence that this
works with most compilers.
Issue 7218045: Add sk_ignore_unused_variable to avoid warnings.
(Closed)
Created 11 years, 9 months ago by bungeman
Modified 11 years, 9 months ago
Reviewers: reed1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0