Skip to content

Commit 15b88d3

Browse files
committed
remove unused static func cap_channel
1 parent 01e0d84 commit 15b88d3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/ast.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,14 +2030,6 @@ namespace Sass {
20302030
return to_string({ NESTED, 5 });
20312031
}
20322032

2033-
// helper function for serializing colors
2034-
template <size_t range>
2035-
static double cap_channel(double c) {
2036-
if (c > range) return range;
2037-
else if (c < 0) return 0;
2038-
else return c;
2039-
}
2040-
20412033
std::string String_Quoted::inspect() const
20422034
{
20432035
return quote(value_, '*');
@@ -2064,4 +2056,3 @@ namespace Sass {
20642056
}
20652057

20662058
}
2067-

0 commit comments

Comments
 (0)