Skip to content

Commit

Permalink
Fixed uninitialized variable in write_restart()
Browse files Browse the repository at this point in the history
- stderrunit was used but not set.
  • Loading branch information
adcroft committed Jul 17, 2015
1 parent 255fb34 commit 788d956
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions icebergs_io.F90
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ subroutine write_restart(bergs)
jne, &
start_year

! Get the stderr unit number
stderrunit=stderr()


! For convenience
grd=>bergs%grd
Expand Down

0 comments on commit 788d956

Please sign in to comment.