[MITgcm-devel] [MITgcm-cvs] MITgcm/doc CVS Commit

Oliver Jahn jahn at mit.edu
Thu Sep 18 10:46:30 EDT 2014


> and finally, local var "iarr" is not going to be used
> unless ALLOW_GENTIM2D_CONTROL is defined (independently of the 2 other options:
>  ALLOW_GENARR3D_CONTROL & ALLOW_GENARR2D_CONTROL )

in fact, I would move the

#ifdef ALLOW_CTRL
#ifdef ALLOW_GENTIM2D_CONTROL

before local variable declarations (and add a return statement at the end).

Oliver




More information about the MITgcm-devel mailing list