cerner / ccl-testing

A collection of maven plugins and their dependencies to perform CCL Unit tests and static analyses and to generate reports from the results.
Apache License 2.0
16 stars 11 forks source link

whitenoise:2.1 fails to recognize a subroutine call made from a report writer section. #12

Closed feckertson closed 5 years ago

feckertson commented 5 years ago

var0 is flagged as unused in the following script

drop program sample_script go
create program sample_script
    declare var0 = i4 with protect, noconstant(0)
    subroutine(sub0(null) = null)
        call echo(var0)
    end
    select into noforms from dual detail call sub0(null) with nocounter