From f51d4720e0a95a667e4df9dcba346c41877839cf Mon Sep 17 00:00:00 2001
From: Ken Martin <ken.martin@kitware.com>
Date: Thu, 24 Aug 2017 09:42:50 -0400
Subject: [PATCH] fix comiler warning on string to numeric

vtkStringToNumeric.cxx:274:57: warning: '*' in boolean context
---
 Infovis/Core/vtkStringToNumeric.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Infovis/Core/vtkStringToNumeric.cxx b/Infovis/Core/vtkStringToNumeric.cxx
index ada340ea669..d6beee41d85 100644
--- a/Infovis/Core/vtkStringToNumeric.cxx
+++ b/Infovis/Core/vtkStringToNumeric.cxx
@@ -271,7 +271,7 @@ void vtkStringToNumeric::ConvertArrays(vtkFieldData* fieldData)
     {
       // Calling AddArray will replace the old array since the names match.
       // Are they all ints, and did I test anything?
-      if (!this->ForceDouble && allInteger && (numTuples*numComps))
+      if (!this->ForceDouble && allInteger && numTuples && numComps)
       {
         fieldData->AddArray(intArray);
       }
-- 
GitLab