Commit 2bc4f103 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic 'TestAssignAttribute_cppcheck'

7cd56fb0 Fix cppcheck warning in TestAssignAttribute
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Cory Quammen's avatarCory Quammen <>
Merge-request: !1966
parents b68971e5 7cd56fb0
......@@ -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