Commit 02206078 authored by David Cole's avatar David Cole
Browse files

COMP: Mask out two more frequently occurring Qt warnings. Eliminate unused...

COMP: Mask out two more frequently occurring Qt warnings. Eliminate unused variables to eliminate warnings.
parent 6ea50cc1
......@@ -56,6 +56,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
# fix their code. Until they do, keep the Qt chatter off the VTK dashboard
# results:
"include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
"[Qq]t.*h.*warning.*declaration of .parent. shadows a member of .this"
"[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
# Specifically for HP compiler, mask out
"Utilities.(vtkjpeg|vtksqlite).*warning.*more strictly aligned type"
......
......@@ -48,7 +48,7 @@
#define VTK_CREATE(type, name) \
vtkSmartPointer<type> name = vtkSmartPointer<type>::New()
vtkCxxRevisionMacro(vtkTableToGraph, "1.5");
vtkCxxRevisionMacro(vtkTableToGraph, "1.6");
vtkStandardNewMacro(vtkTableToGraph);
vtkCxxSetObjectMacro(vtkTableToGraph, LinkGraph, vtkMutableDirectedGraph);
//---------------------------------------------------------------------------
......@@ -469,8 +469,6 @@ int vtkTableToGraph::RequestData(
// auxiliary arrays and vetex maps.
// If we are not provided one, create one using values found in
// the edge table.
vtkIdType numVertices = 0;
vtkIdType numHiddenVertices = 0;
if (!vertexTable)
{
// If we don't have a vertex table,
......@@ -541,8 +539,6 @@ int vtkTableToGraph::RequestData(
double progress = createVertexTime * ((c + 1.0)/linkColumn->GetNumberOfTuples());
this->InvokeEvent(vtkCommand::ProgressEvent, &progress);
}
numVertices = curVertex + 1;
numHiddenVertices = curHiddenVertex + 1;
}
else
{
......
Supports Markdown
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