DescriptionGuard colorNames variable under SK_SUPPORT_UNITTEST.
That way clang does not complain with unneeded-internal-declaration warning,
because otherwise to clang this variable is unused and thus it won't
emit code for it.
The warning is:
../../src/utils/SkParseColor.cpp:35:3: error: variable 'colorNames' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
} colorNames[] = {
R=bsalomon@google.com,robertphillips@google.com
Committed: http://code.google.com/p/skia/source/detail?r=11798
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|