Skip to content

Commit 148b322

Browse files
committed
Fix GNU warning "Warning: Return value err_message of function declared at (1) not set [-Wreturn-type]"
1 parent 733f66e commit 148b322

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

physics/Interstitials/UFS_SCM_NEPTUNE/module_ccpp_suite_simulator.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function linterp_1D(this, var_name, year, month, day, hour, min, sec) result(err
121121
this%tend1d%q = this%tend2d%q(:,1)
122122
endif
123123
end select
124-
124+
err_message = ""
125125
end function linterp_1D
126126

127127
!> Type-bound procedure to compute tendency profile for time-of-day.
@@ -153,6 +153,7 @@ function linterp_2D(this, var_name, lon, lat, year, month, day, hour, min, sec)
153153
case("q")
154154
this%tend1d%q = w1*this%tend3d%q(iNearest,:,ti(1)) + w2*this%tend3d%q(iNearest,:,tf(1))
155155
end select
156+
err_message = ""
156157
end function linterp_2D
157158

158159
!> Type-bound procedure to find nearest location.

0 commit comments

Comments
 (0)