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.0 fails to flag a variable as unused if the only use is a 'set' statement in a report writer section. #10

Closed feckertson closed 5 years ago

feckertson commented 5 years ago

var0 is inappropriately not flagged as an unused variable

drop program prog go
create program prog 
    declare var0 = vc
    select into nl from dual detail
        var0 = 'HW'
    with nocounter
end go
feckertson commented 5 years ago

fixed in #11