From a63354a496b766731fc159e6b6ed19861462538e Mon Sep 17 00:00:00 2001 From: Ryan Mulhall <35538242+rem1776@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:06:09 -0400 Subject: [PATCH] fix: diag_manager uninitialized return value (#1484) --- diag_manager/fms_diag_field_object.F90 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diag_manager/fms_diag_field_object.F90 b/diag_manager/fms_diag_field_object.F90 index 34e425eb9..5daa3a5a5 100644 --- a/diag_manager/fms_diag_field_object.F90 +++ b/diag_manager/fms_diag_field_object.F90 @@ -1884,6 +1884,8 @@ function check_for_slices(field, diag_axis, var_size) & logical :: rslt integer :: i !< For do loops + rslt = .false. + if (.not. field%has_axis_ids()) then rslt = .false. return