Skip to content

Commit 4f51c64

Browse files
authored
Removed unused variable namedColorCount
1 parent 4262ac8 commit 4f51c64

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

csscolorparser.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ const NamedColor namedColors[] = {
110110
{ "yellow", { 255, 255, 0, 1 } }, { "yellowgreen", { 154, 205, 50, 1 } }
111111
};
112112

113-
const size_t namedColorCount = sizeof (namedColors) / sizeof (NamedColor);
114-
115-
116113
template <typename T>
117114
uint8_t clamp_css_byte(T i) { // Clamp to integer 0 .. 255.
118115
i = ::round(i); // Seems to be what Chrome does (vs truncation).

0 commit comments

Comments
 (0)