From 5893397211dee266612993a5880ed619ea62137b Mon Sep 17 00:00:00 2001 From: Ed Date: Tue, 16 Apr 2024 12:03:17 -0600 Subject: [PATCH] fixed warning --- .github/workflows/developer.yml | 2 +- tests/test_g2tmpl_pdt4_12.F90 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/developer.yml b/.github/workflows/developer.yml index 38f55bf..09f5a56 100644 --- a/.github/workflows/developer.yml +++ b/.github/workflows/developer.yml @@ -37,7 +37,7 @@ jobs: cd g2tmpl mkdir build cd build - cmake -DENABLE_DOCS=ON -DCMAKE_C_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall -Werror" -DCMAKE_Fortran_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall" -DCMAKE_BUILD_TYPE=Debug .. + cmake -DENABLE_DOCS=ON -DCMAKE_C_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall -Werror" -DCMAKE_Fortran_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -fsanitize=address -Wall -Werror" -DCMAKE_BUILD_TYPE=Debug .. make -j2 VERBOSE=1 - name: test diff --git a/tests/test_g2tmpl_pdt4_12.F90 b/tests/test_g2tmpl_pdt4_12.F90 index 454c477..32244d9 100755 --- a/tests/test_g2tmpl_pdt4_12.F90 +++ b/tests/test_g2tmpl_pdt4_12.F90 @@ -16,7 +16,7 @@ Program test_g2tmpl_pdt4_12 integer(4) :: year_intvl,mon_intvl,day_intvl,hour_intvl,min_intvl, & sec_intvl,num_time_range,stat_miss_val, & leng_time_range_stat,time_inc_betwn_succ_fld - integer(4) :: perturb_num, num_fcst_ens + integer(4) :: num_fcst_ens ! character(len=80) :: typ_gen_proc_key,gen_proc_or_mod_key, & unit_of_time_key,lvl_type1,lvl_type2, & @@ -24,7 +24,7 @@ Program test_g2tmpl_pdt4_12 stat_unit_time_key,stat_unit_time_key_succ, & type_derive_fcst_key ! - integer(4) :: bckgnd_gen_proc_id ! defined by the center + !integer(4) :: bckgnd_gen_proc_id ! defined by the center ! integer(4) :: ipdstmpl12_old(31)=(/0, 4, 4, 0, 107, 0, 0, 1, 6, &