]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize variable to avoid warning.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 9 Sep 2010 12:42:16 +0000 (12:42 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 9 Sep 2010 12:42:16 +0000 (12:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@21907 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index c5e3819e449338daa28f0609d3cd6c81f5f16df6..e6c7b3d3877d18398285f4d27ff006a20bde50c3 100644 (file)
@@ -603,7 +603,7 @@ ParameterHandler::demangle (const std::string &s)
        Assert (i+2 < s.size(),
                ExcMessage ("Trying to demangle an invalid string."));
 
-       unsigned char c;
+       unsigned char c = 0;
        switch (s[i+1])
          {
            case '0':  c = 0 * 16;  break;

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.