Changeset 1079


Ignore:
Timestamp:
10/07/14 12:04:35 (10 years ago)
Author:
sdipsl
Message:
  • add some missing pop stack to avoid a broken call tree
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh

    r1075 r1079  
    979979  else 
    980980    IGCM_debug_Exit "IGCM_comp_modifyDefFile: Bad number of arguments." 
     981    IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    981982    return 
    982983  fi 
     
    986987  if [ $type != blocker ] && [ $type != nonblocker ] ; then 
    987988    IGCM_debug_Exit "IGCM_comp_modifyDefFile: Error in first argument must be blocker or nonblocker" 
     989    IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    988990    return 
    989991  fi 
     
    992994  if [ ! -f ${filein} ] ; then 
    993995    IGCM_debug_Exit "IGCM_comp_modifyDefFile: $filein does not exist." 
     996    IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    994997    return 
    995998  fi 
     
    10041007  if [ $nb_occ -gt 1 ] ; then 
    10051008    IGCM_debug_Exit "IGCM_comp_modifyDefFile : Error in $filein: Variable=$key is set ${nb_occ} times" 
     1009    IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    10061010    return 
    10071011  fi 
     
    10431047          IGCM_debug_Print 1 "IGCM_comp_modifyDefFile: The syntax in $filein should be:" 
    10441048          IGCM_debug_Print 1 "IGCM_comp_modifyDefFile: $key=_AUTO_:DEFAULT=def_value" 
     1049          IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    10451050          return 
    10461051        fi 
     
    10531058    fi 
    10541059  fi 
     1060  IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 
    10551061} 
    10561062 
Note: See TracChangeset for help on using the changeset viewer.