Skip to content

Commit

Permalink
Switched to ERRWRT warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-a-potts committed Jul 16, 2020
1 parent 17c05ce commit 77b1d43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/closbf.F
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ SUBROUTINE CLOSBF(LUNIT)
USE MODA_NULBFR

INCLUDE 'bufrlib.prm'
CHARACTER*128 ERRSTR

C-----------------------------------------------------------------------
C-----------------------------------------------------------------------
#ifdef DYNAMIC_ALLOCATION
IF ( .NOT. ALLOCATED(NULL) ) THEN
CALL ERRWRT('++++++++++++++++++++WARNING++++++++++++++++++++++')
ERRSTR = 'BUFRLIB: CLOSBF WAS CALLED BEFORE CALLING OPENBF'
ERRSTR = 'BUFRLIB: CLOSBF CALLED BEFORE OPENBF'
CALL ERRWRT(ERRSTR)
CALL ERRWRT('++++++++++++++++++++WARNING++++++++++++++++++++++')
RETURN
Expand Down

0 comments on commit 77b1d43

Please sign in to comment.