From: bangerth Date: Sun, 18 Jan 2009 23:58:12 +0000 (+0000) Subject: Initialize a variable to avoid (spurious) warnings. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5302a9788a3224b2de9684f8219e4374c50f4201;p=dealii-svn.git Initialize a variable to avoid (spurious) warnings. git-svn-id: https://svn.dealii.org/trunk@18228 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index 413110fdc1..92616e2a85 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -2727,7 +2727,7 @@ void DataOutBase::write_eps (const std::vector > &patches, // Array for z-coordinates of points. // The elevation determined by a function if spacedim=2 // or the z-cooridate of the grid point if spacedim=3 - double heights[4]; + double heights[4] = { 0, 0, 0, 0 }; // compute the cells for output and // enter them into the set above