]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
remove hdf5 related compiler warning
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 00:50:21 +0000 (00:50 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2013 00:50:21 +0000 (00:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@31022 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/data_out_base.cc

index 37b34d217fd11f9e414d08b0656512c8d8490525..24cc56da1207e30179a1220eb3e37852f104f1a2 100644 (file)
@@ -7093,7 +7093,7 @@ void DataOutBase::write_hdf5_parallel (const std::vector<Patch<dim,spacedim> > &
   // are no patches
   Assert (data_filter.n_nodes() > 0, ExcNoPatches());
 #else
-  hid_t           h5_mesh_file_id, h5_solution_file_id, file_plist_id, plist_id;
+  hid_t           h5_mesh_file_id=-1, h5_solution_file_id, file_plist_id, plist_id;
   hid_t           node_dataspace, node_dataset, node_file_dataspace, node_memory_dataspace;
   hid_t           cell_dataspace, cell_dataset, cell_file_dataspace, cell_memory_dataspace;
   hid_t           pt_data_dataspace, pt_data_dataset, pt_data_file_dataspace, pt_data_memory_dataspace;

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.