You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should address these. Also, often -Wall flag is good at identifying uninitialized memory. In fact, there are few occurrences in the codebase now, e.g.,
/Users/pdmullen/Desktop/athenak/src/bvals/flux_correct_fc.cpp:68:18: warning: variable 'jl' is used uninitialized whenever 'if' condition is
false [-Wsometimes-uninitialized]
} else if (nghbr.d_view(m,n).lev == mblev.d_view(m)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pdmullen/Desktop/athenak/src/bvals/flux_correct_fc.cpp:78:27: note: uninitialized use occurs here
const int nj = ju - jl + 1;
The text was updated successfully, but these errors were encountered:
In GitLab by @pdmullen on Nov 18, 2022, 13:52
Compiling
AthenaK
issues many warnings when compiling with-Wall
flag:We should address these. Also, often
-Wall
flag is good at identifying uninitialized memory. In fact, there are few occurrences in the codebase now, e.g.,The text was updated successfully, but these errors were encountered: