Changeset 578


Ignore:
Timestamp:
03/23/15 11:11:29 (6 years ago)
Author:
rlacroix
Message:

Fix possibly incorrect error messages in case of NetCDF failure.

Some return statements were misplaced which could lead to unpredictable behavior.

Location:
XIOS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/netCdfInterface.cpp

    r524 r578  
    720720    modeMes = StdString("In the composed opening mode"); 
    721721    break; 
     722  } 
    722723  return modeMes; 
    723   } 
    724724} 
    725725 
     
    747747    modeMes = StdString("In the composed creation mode"); 
    748748    break; 
     749  } 
    749750  return modeMes; 
    750   } 
    751751} 
    752752 
  • XIOS/trunk/src/output/netCdfInterface.cpp

    r525 r578  
    745745    modeMes = StdString("In the composed opening mode"); 
    746746    break; 
     747  } 
    747748  return modeMes; 
    748   } 
    749749} 
    750750 
     
    772772    modeMes = StdString("In the composed creation mode"); 
    773773    break; 
     774  } 
    774775  return modeMes; 
    775   } 
    776 } 
    777  
    778 } 
     776} 
     777 
     778} 
Note: See TracChangeset for help on using the changeset viewer.