Commit 7cd56fb0 authored by Karsten Tausche's avatar Karsten Tausche

Fix cppcheck warning in TestAssignAttribute

parent 72835ce2
Pipeline #26524 passed with stage
......@@ -167,7 +167,6 @@ int TestAssignAttribute(int, char *[])
outFieldInfo = vtkDataObject::GetActiveFieldInformation(outInfo,
vtkDataObject::FIELD_ASSOCIATION_POINTS, vtkDataSetAttributes::VECTORS);
if (!outFieldInfo
|| !outFieldInfo
|| !outFieldInfo->Has(vtkDataObject::FIELD_NAME())
|| std::strcmp(outFieldInfo->Get(vtkDataObject::FIELD_NAME()), scalars->GetName())
|| outFieldInfo->Get(vtkDataObject::FIELD_NUMBER_OF_COMPONENTS()) != scalars->GetNumberOfComponents()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment