]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/DriverUNV/UNV164_Structure.cxx
Salome HOME
Fix warning
[modules/smesh.git] / src / DriverUNV / UNV164_Structure.cxx
index a48520cdb5a24f61bf10832cfbe745bd091829e1..a4cd6c6249f5ed62732344e2633bec5a2c1ee62e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -42,7 +42,7 @@ void UNV164::Read(std::ifstream& in_stream, TRecord& theUnitsRecord )
     return;
 
   string num_buf;
-  char line[theMaxLineLen];
+  char line[theMaxLineLen] = "";
 
   in_stream >> theUnitsRecord.units_code;
   in_stream.readsome( line, 20 );