Commit 4db6056e authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1292 Fix fedora clang release warnings.

parent 099a61bf
......@@ -21,6 +21,7 @@ PRAGMA_DIAGNOSTIC(ignored "-Wweak-vtables")
PRAGMA_DIAGNOSTIC(ignored "-Wunused-template")
PRAGMA_DIAGNOSTIC(ignored "-Wfloat-equal")
PRAGMA_DIAGNOSTIC(ignored "-Wnewline-eof")
PRAGMA_DIAGNOSTIC(ignored "-Wextra-semi-stmt")
# include "xtensor/xtensor.hpp"
# include "xtensor/xio.hpp"
......
......@@ -66,8 +66,7 @@ namespace MoReFEM::Wrappers::Xtensor
const LocalVector& Y,
LocalVector& out)
{
const auto size = X.size();
assert(size == 3);
assert(X.size() == 3);
assert(Y.size() == 3);
assert(out.size() == 3);
......
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