From: kronbichler Date: Fri, 24 May 2013 15:46:18 +0000 (+0000) Subject: Avoid warning about possibly uninitialized variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253e75a9b427c562a729cc95446639558a832172;p=dealii-svn.git Avoid warning about possibly uninitialized variables. git-svn-id: https://svn.dealii.org/trunk@29573 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/data_out_base.cc b/deal.II/source/base/data_out_base.cc index 7aa1fa1d1d..6e414d7e1f 100644 --- a/deal.II/source/base/data_out_base.cc +++ b/deal.II/source/base/data_out_base.cc @@ -6021,7 +6021,7 @@ void DataOutBase::write_svg (const std::vector > &patches, << " " << '\n'; // draw current triangle - double x1,y1,x2,y2; + double x1 = 0, y1 = 0, x2 = 0, y2 = 0; double x3 = cell->projected_center[0]; double y3 = cell->projected_center[1];