-
Notifications
You must be signed in to change notification settings - Fork 125
Fixes blank line warnings and the easy obsolete warnings #2384
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
Fixes blank line warnings and the easy obsolete warnings #2384
Conversation
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
| } | ||
|
|
||
| connection?.BrowseResource(file, filename.IsNull ? Path.GetFileName(file.ResourcePath) : filename.GetValueAsString()); | ||
| connection?.BrowseResource(file, filename.IsNull ? Path.GetFileName(file.ResourcePath) : filename.MustGetValueAsString()); |
Check warning
Code scanning / InspectCode
Possible null reference argument for a parameter. Warning
|
Did you ensure the changes from |
|
getvalueasinteger and getvalueasstring just call their mustgetvalueas versions and nothing else |
|
Yes, but they haven't already been removed because each use needs to be checked if BYOND errors on an invalid value, or coerces it to something else. For example, |
ZeWaka
left a comment
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.
�
|
To rephrase it, every usage of |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Feel free to reopen this if you come back to it. |
we have a LOT of warnings on the opendream folder, bout time we shave em down a bit.