Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[469b] UnrealEd compiler not say in which method/line unreferenced local variable #355

Closed
SeriousBuggie opened this issue Apr 28, 2021 · 3 comments
Labels
enhancement Feature request internal-fam UnrealEd This is an issue in Unreal Editor
Milestone

Comments

@SeriousBuggie
Copy link
Collaborator

Warning: Parsing UserMuteMutator
Warning: Compiling UserMuteMutator
Warning: 'Parent' : unreferenced local variable
Warning: 'Rule' : unreferenced local variable
Warning: 'Empty' : unreferenced local variable
Warning: 'P' : unreferenced local variable
Warning: 'Rule' : unreferenced local variable
Warning: 'Entry' : unreferenced local variable
Warning: 'PlayerEntry' : unreferenced local variable
Warning: 'P' : unreferenced local variable
Warning: 'j' : unreferenced local variable
Warning: Compiling UUserMuteWindow

No any clue in which method or line this unreferenced local variable appear.
If class code big enough very hard find what line/method compiler mean.

@SeriousBuggie SeriousBuggie changed the title [469b] UnrealEd compiler not say in which method/line unused local varibale [469b] UnrealEd compiler not say in which method/line unreferenced local variable Apr 28, 2021
@stijn-volckaert stijn-volckaert added enhancement Feature request UnrealEd This is an issue in Unreal Editor labels Jun 20, 2021
@SeriousBuggie
Copy link
Collaborator Author

UCC tell file and line. UnrealEd - no.

@SeriousBuggie
Copy link
Collaborator Author

Possible implementation:

Warning: Parsing MyActor
Warning: Compiling MyActor
Warning: 'actualDamage' : unreferenced local variable in MyActor at line 13
Warning: 'bAlreadyDead' : unreferenced local variable in MyActor at line 14
Warning: 'unrefVar' : unreferenced local variable in MyActor at line 7
Log: Success: Compiled 27 line(s), 8 statement(s).

@SeriousBuggie
Copy link
Collaborator Author

For UCC it be like:

Compiling DemoPlaybackSpec
Z:\UT_469c\udemo\Classes\DemoPlaybackSpec.uc(1762) : Warning, 'Tmp' : unreferenced local variable in DemoPlaybackSpec at line 1762
Compiling DemoNotify

@stijn-volckaert stijn-volckaert added this to the 469d milestone Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request internal-fam UnrealEd This is an issue in Unreal Editor
Projects
None yet
Development

No branches or pull requests

2 participants