Commit a283cf6a authored by Sean McBride's avatar Sean McBride

Removed dead code found by cppcheck

Change-Id: I5573964542026cb3c62d734041d8bb81c3189961
parent d58e1b0c
......@@ -141,7 +141,6 @@ public:
if ( !name.empty() && color.GetSize() == 4 )
{
vtkStdString s = this->ToLowercase(name);
std::vector<unsigned char> uv;
unsigned char r, g, b, a;
r = static_cast<unsigned char>(color.GetRed() * 255.0);
g = static_cast<unsigned char>(color.GetGreen() * 255.0);
......
......@@ -277,36 +277,6 @@ class vtkCellTreeBuilder
}
}
//----------------------------------------------------------------------------
void FindMinD( const PerCell* begin, const PerCell* end,
unsigned int d, float& min )
{
min = begin->Min[d];
while( ++begin != end )
{
if( begin->Min[d] < min )
{
min = begin->Min[d];
}
}
}
void FindMaxD( const PerCell* begin, const PerCell* end,
unsigned int d, float& max )
{
max = begin->Max[d];
while( ++begin != end )
{
if( begin->Max[d] > max )
{
max = begin->Max[d];
}
}
}
// -------------------------------------------------------------------------
void Split( unsigned int index, float min[3], float max[3] )
......
......@@ -397,7 +397,6 @@ static int preproc_evaluate_char(
else if (*cp == 'f') { *val = '\f'; }
else if (*cp == 'n') { *val = '\n'; }
else if (*cp == 'r') { *val = '\r'; }
else if (*cp == 'b') { *val = '\b'; }
else if (*cp == 't') { *val = '\t'; }
else if (*cp == 'v') { *val = '\v'; }
else if (*cp == '\'') { *val = '\''; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment