Merge topic 'warning-no-logging'
964ef29e0 Suppress warning when logging is turned off Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Vicente Bolea <vicente.bolea@kitware.com> Merge-request: !2581
This commit is contained in:
commit
44472f460e
@ -70,6 +70,7 @@ inline VTKM_CONT bool FilterDataSet<Derived>::MapFieldOntoOutput(
|
||||
"Failed to map field " << field.GetName()
|
||||
<< " because it is an unknown type. Cast error:\n"
|
||||
<< error.GetMessage());
|
||||
(void)error; // Suppress unused error message if logging is turned off.
|
||||
}
|
||||
|
||||
//the bool valid will be modified by the map algorithm to hold if the
|
||||
|
Loading…
Reference in New Issue
Block a user