#61 closed defect (fixed)
Bug in cal_generic.f90
Reported by: | Dave Offiler | Owned by: | Dave Offiler |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ROPP (all) | Version: | 0.8 |
Keywords: | Cc: |
Description
In ropp_tools/flib/calgeneric.f90:
SUBROUTINE CAL_GETARG(n, argn) INTEGER(4) CHARACTER(LEN=*) argn INTENT(IN) :: n INTENT(OUT) :: argn ... CALL GETARG(n1, argn)
NAG compiler issues a waring of unused variable 'n'. Clearly 'n1' in the CALL should be 'n' as a n1 is not defined anywhere (and an IMPLICIT NONE would have shwn this). This is a real bug as n1 is undefined and could return any command line argument.
Note:
See TracTickets
for help on using tickets.
Solution: change 'n1' to 'n' in CALL GETARG