Salome HOME
Fix for
[modules/smesh.git] / src / DriverUNV / UNV164_Structure.cxx
index 64f5187d178ebc5646c22662eca7a8df05f25442..a4cd6c6249f5ed62732344e2633bec5a2c1ee62e 100644 (file)
@@ -42,7 +42,7 @@ void UNV164::Read(std::ifstream& in_stream, TRecord& theUnitsRecord )
     return;
 
   string num_buf;
     return;
 
   string num_buf;
-  char line[theMaxLineLen];
+  char line[theMaxLineLen] = "";
 
   in_stream >> theUnitsRecord.units_code;
   in_stream.readsome( line, 20 );
 
   in_stream >> theUnitsRecord.units_code;
   in_stream.readsome( line, 20 );