From ba1392b4287f33b1297fe34b635f2ed4a621ac1e Mon Sep 17 00:00:00 2001 From: Nicholas Szapiro <149816583+NickSzapiro-NOAA@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:29:06 -0500 Subject: [PATCH] Add 1 more #ifndef CESMCOUPLED to avoid unused variable warning for cesm --- cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90 b/cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90 index d4a43a3a9..8c80ad194 100644 --- a/cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90 +++ b/cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90 @@ -1030,7 +1030,9 @@ subroutine ModelAdvance(gcomp, rc) character(char_len_long) :: restart_date character(char_len_long) :: restart_filename logical :: isPresent, isSet +#ifndef CESMCOUPLED logical :: write_restartfh +#endif character(len=*),parameter :: subname=trim(modName)//':(ModelAdvance) ' character(char_len_long) :: msgString !--------------------------------