Skip to content

[Clr2Papyrus] Remove all unused local variables #7

@zerratar

Description

@zerratar

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions