From: Wolfgang Bangerth Date: Sun, 18 Jan 2009 23:58:12 +0000 (+0000) Subject: Initialize a variable to avoid (spurious) warnings. X-Git-Tag: v8.0.0~8108 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0cdcdbc6b213113d359ab06b87cfd79bd969a7;p=dealii.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