Skip to content

Fix compiler warning in Tube worklet

Kenneth Moreland requested to merge kmorel/vtk-m:tube-compile-warning into master

Older GCC compilers were giving warnings in the operator of the GeneratePoints worklets for tubes because they could not completely determine that variables were being properly initialized in the first loop iteration (and therefore initialized for every subsequent iteration). Fixed that by moving the initialization for the first iteration outside of the loop.

Merge request reports

Loading