[core] Removed unused namedColorCount
warning: unused variable 'namedColorCount' [clang-diagnostic-unused-const-variable]
This commit is contained in:
@@ -110,9 +110,6 @@ const NamedColor namedColors[] = {
|
||||
{ "yellow", { 255, 255, 0, 1 } }, { "yellowgreen", { 154, 205, 50, 1 } }
|
||||
};
|
||||
|
||||
const size_t namedColorCount = sizeof (namedColors) / sizeof (NamedColor);
|
||||
|
||||
|
||||
template <typename T>
|
||||
uint8_t clamp_css_byte(T i) { // Clamp to integer 0 .. 255.
|
||||
i = ::round(i); // Seems to be what Chrome does (vs truncation).
|
||||
|
||||
Reference in New Issue
Block a user