Commit ef8765ba authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1292 Add initial values to avoid a warning in release.

parent c1b8b451
......@@ -27,7 +27,7 @@ PRAGMA_DIAGNOSTIC(ignored "-Wparentheses") // at least for gcc \todo #1292
PRAGMA_DIAGNOSTIC(ignored "-Wunused-template")
# if !defined(__apple_build_version__) || __clang_major__ >= 11
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
# endif
# MatrixOperations.hxxendif
# endif // __clang__
# include "xtensor/xtensor.hpp"
......
......@@ -142,7 +142,7 @@ namespace MoReFEM
DoReuseMatrix do_reuse_matrix)
{
Mat result;
int error_code;
int error_code {};
switch (do_reuse_matrix)
{
......@@ -257,7 +257,7 @@ namespace MoReFEM
DoReuseMatrix do_reuse_matrix)
{
Mat result;
int error_code;
int error_code {};
switch (do_reuse_matrix)
{
case DoReuseMatrix::no:
......@@ -352,7 +352,7 @@ namespace MoReFEM
{
Mat result;
int error_code;
int error_code {};
switch (do_reuse_matrix)
{
......@@ -414,7 +414,7 @@ namespace MoReFEM
DoReuseMatrix do_reuse_matrix)
{
Mat result;
int error_code;
int error_code {};
switch (do_reuse_matrix)
{
......@@ -474,7 +474,7 @@ namespace MoReFEM
DoReuseMatrix do_reuse_matrix)
{
Mat result;
int error_code;
int error_code {};
switch (do_reuse_matrix)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment