[MITgcm-devel] an other EXF unclean stuff

Jean-Michel Campin jmc at ocean.mit.edu
Thu Jun 25 20:02:14 EDT 2009


Hi Gael,

I am getting tons of "unused variable" warnings (from each
S/R that includes EXF_PARAMS.h) because 
> areamask_exfremo_intercept & areamask_exfremo_slope
are declared in EXF_PARAMS.h but are not in common block.
(they have been added iin version 1.10 by gforget on Jul 11, 2008, 
 with the msg: Adding a capability to exf: read ice area from file.
 but are not initialised and not read from data.exf)

I can either
- comment them out in EXF_PARAMS.h , and then it will not
 compile anymore with ALLOW_ICE_AREAMASK defined (BTW, I cannot
 find this option in EXF_OPTIONS.h )
- add them to a common block in EXF_PARAMS.h (but since they are 
 not initialised, might produce strange things trying to use 
 ALLOW_ICE_AREAMASK );

I am tempted by the 1rst solution.

Cheers,
Jean-Michel








More information about the MITgcm-devel mailing list