]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Initialize a variable.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Oct 2008 01:42:10 +0000 (01:42 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Oct 2008 01:42:10 +0000 (01:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@17220 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_in.cc

index 9b03ac1ce0161cff8863188d5652d22d50fea2ed..ad0c805f71af6f47452a2a23a11615d7a1dcfa80 100644 (file)
@@ -559,7 +559,7 @@ void GridIn<dim>::read_msh (std::istream &in)
   in >> line;
 
                                   // first determine file format
-  unsigned int gmsh_file_format;
+  unsigned int gmsh_file_format = 0;
   if (line == "$NOD")
     gmsh_file_format = 1;
   else if (line == "$MeshFormat")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.