-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix 39 non-obsolete warnings #33794
base: master
Are you sure you want to change the base?
Fix 39 non-obsolete warnings #33794
Conversation
@@ -45,7 +45,7 @@ private void OnMagnetClaim(EntityUid uid, SalvageMagnetComponent component, ref | |||
return; | |||
} | |||
|
|||
TakeMagnetOffer((station.Value, dataComp), args.Index, (uid, component)); | |||
_ = TakeMagnetOffer((station.Value, dataComp), args.Index, (uid, component)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discarding this task is not the right choice, it'll cause the error result to be poorly handled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would catch-all-and-log suffice? Seems like it's too late to do anything else of value.
About the PR
Pursuant to #33279.
Technical details
Fix:
ClientGameTicker.Initialize
by calling base since it seems harmlessCableVisualizerSystem.Initialize
by detaching it fromVisualizerSystem
entirelyIAdminLogManager
inGhostSystem
new
inInstrumentBoundUserInterface
DockObject
UI and their never-called listenersTask
s in a try-catch and log errorsusing
s, but only in files already touchedSilence:
DoAfterSystem.Update
since it seems intentionalThis doesn't fix any warning with "obsolete" in the name, RA0026, or these monsters:
Requirements