Function result not set

A FORTRAN function has failed or may fail to specify a return value on all execution paths.

ID

Observation

Description

1

Definition

The place the function was defined

Example

          
integer function mysub(i)
integer :: i
if (i .lt. 0) mysub = i
end

integer :: mysub
print *, mysub(2), mysub(-2)
end
        

Copyright © 2010, Intel Corporation. All rights reserved.