Skip to content

Commit

Permalink
fixed unassigned value to a intent(out) variable
Browse files Browse the repository at this point in the history
  • Loading branch information
degawa committed May 7, 2023
1 parent c004bbe commit 186c1ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stdlib_io_npy_load.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ contains

integer :: minor

! stat should be zero if no error occurred
stat = 0

if (header(1:1) /= magic_number) then
stat = 1
msg = "Expected z'93' but got z'"//to_string(ichar(header(1:1)))//"' "//&
Expand Down

0 comments on commit 186c1ae

Please sign in to comment.