Skip to content

Conversation

jamesjer
Copy link

Fixes this warning:

src/lusol8b.f: In function 'lu8mod_':
src/lusol8b.f:752:72: warning: 'zero' may be used uninitialized [-Wmaybe-uninitialized]
  752 |          diag   = zero
      |                                                                        ^
src/lusol8b.f:752:22: note: 'zero' was declared here
  752 |          diag   = zero
      |                      ^

Note that there is one other such problem in lusol8b.f. I don't know how to fix this one:

src/lusol8b.f:761:21: warning: 'jrep' may be used uninitialized [-Wmaybe-uninitialized]
  761 |             if (.not. singlr) then
      |                     ^
src/lusol8b.f:759:33: note: 'jrep' was declared here
  759 |             singlr = j1 .ne. jrep
      |                                 ^

There is no parameter or local variable named jrep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant