FEM: Ensure node is initialized before use
Coverity issue 545328
This commit is contained in:
committed by
Benjamin Nauck
parent
8f2e330a53
commit
f33687535d
@@ -1278,9 +1278,9 @@ readNodes(std::ifstream& ifstr, const std::string& lines, vtkSmartPointer<vtkPoi
|
||||
{
|
||||
std::string keyCode = " 2C";
|
||||
std::string keyCodeCoord = " -1";
|
||||
long numNodes;
|
||||
int indicator;
|
||||
int node;
|
||||
long numNodes {0};
|
||||
int indicator {0};
|
||||
int node {0};
|
||||
long nodeID = 0;
|
||||
|
||||
// frd file might have nodes that are not numbered starting from zero.
|
||||
|
||||
Reference in New Issue
Block a user