Skip to content

Commit

Permalink
Initialize integer to make sure
Browse files Browse the repository at this point in the history
  • Loading branch information
minhqdao committed Jul 31, 2024
1 parent b13208f commit 968e023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/run_f.f90
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function run(cmd, has_error, print_cmd) result(str)
str = str//c2f(line)
end do

istat = 0
istat = pclose(handle)
if (present(has_error)) has_error = istat /= 0
end
Expand Down

0 comments on commit 968e023

Please sign in to comment.