Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Clr2Papyrus] Remove all unused local variables #7

Open
zerratar opened this issue Dec 26, 2015 · 0 comments
Open

[Clr2Papyrus] Remove all unused local variables #7

zerratar opened this issue Dec 26, 2015 · 0 comments

Comments

@zerratar
Copy link
Owner

When using delegates, a new Int v_n variable will be added for each delegates used.
These local variables are never used, assigned nor accessed, which should make them safe to be removed.

Instead of just removing these variables directly as the converter already knows that these variables are delegate vars. I want to have a post processing step where all methods are optimized; regardless if delegates are being used or not and remove all unused variables.

This is not a bug and it does not break the usage of Clr2Papyrus, it is just completely unecessary to keep them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant