[vtk-developers] TemporalArrayOperator
Ken Martin
ken.martin at kitware.com
Sat Mar 25 14:28:47 EDT 2017
Looks like a small typo
vtkTemporalArrayOperatorFilter.cxx: 267 in vtkTemporalArrayOperatorFilter
::ProcessDataObject(vtkDataObject *, vtkDataObject *)()
261 //----------------------------------------------------------
--------------------
262 vtkDataObject* vtkTemporalArrayOperatorFilter::ProcessDataObject(
263 vtkDataObject* inputData0, vtkDataObject* inputData1)
264 {
265 vtkDataArray* inputArray0 = this->GetInputArrayToProcess(0,
inputData0);
266 vtkDataArray* inputArray1 = this->GetInputArrayToProcess(0,
inputData1);
>>> CID 1372958: Incorrect expression (CONSTANT_EXPRESSION_RESULT)
>>> The expression "!inputArray1 || !inputArray1" does not accomplish
anything because it evaluates to either of its identical operands,
"!inputArray1".
267 if (!inputArray1 || !inputArray1)
268 {
269 vtkErrorMacro(<< "Unable to retrieve data arrays to process.");
270 return NULL;
271 }
272
--
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee. Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170325/17cf5eac/attachment.html>
More information about the vtk-developers
mailing list