]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around a bogus warning with gcc4.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 6 Jan 2005 23:14:33 +0000 (23:14 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 6 Jan 2005 23:14:33 +0000 (23:14 +0000)
git-svn-id: https://svn.dealii.org/trunk@9869 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index 47f8f42bb8b2b4595d04242f562d91dcc8a73fe6..6ae0627a94dcdde43cee4c9da8b0883ec7403046 100644 (file)
@@ -222,7 +222,7 @@ DataOutBase::EpsFlags::default_color_function (const double x,
                                               const double xmin,
                                               const double xmax)
 {
-  RgbValues rgb_values;
+  RgbValues rgb_values = { 0,0,0 };
   
 // A difficult color scale:
 //     xmin          = black  (1)

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.