Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

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 opened this issue Jan 31, 2019 · 2 comments

Comments

@feckertson
Copy link
Contributor

No description provided.

@feckertson feckertson changed the title Whitenoise:2.0 flags a variable as unused if it is only used for report writer output. Whitenoise:2.0 fails to flag a variable as unused if it is only use is a 'set' statement in a report writer section. Feb 1, 2019
@feckertson feckertson changed the title Whitenoise:2.0 fails to flag a variable as unused if it is only use is a 'set' statement in a report writer section. Whitenoise:2.0 fails to flag a variable as unused if the only use is a 'set' statement in a report writer section. Feb 1, 2019
feckertson pushed a commit that referenced this issue Feb 1, 2019
@feckertson
Copy link
Contributor Author

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
Copy link
Contributor Author

fixed in #11

feckertson added a commit that referenced this issue Feb 2, 2019
* fix #9
* fix #10
* prepare for
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant