Fix build warnings #88
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build linux x64:
BTCPayApp.Core/Data/TriggerRecord.cs#L5
Non-nullable property 'name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build linux x64:
BTCPayApp.Core/Data/TriggerRecord.cs#L6
Non-nullable property 'sql' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build linux x64:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L41
Converting null literal or possible null value to non-nullable type.
|
Build linux x64:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L50
Possible null reference argument for parameter 'network' in 'OutputDescriptor OutputDescriptor.Parse(string desc, Network network, bool requireCheckSum = false, ISigningRepository? repo = null)'.
|
Build linux x64:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L59
Cannot convert null literal to non-nullable reference type.
|
Build linux x64:
BTCPayApp.Core/Helpers/ChannelExtensions.cs#L63
Nullability of reference types in value of type '(BitcoinExtPubKey Extkey, RootedKeyPath?)' doesn't match target type '(BitcoinExtPubKey, RootedKeyPath)'.
|
Build linux x64:
BTCPayApp.Core/LSP/JIT/FlowFeeRequest.cs#L9
Non-nullable property 'PubKey' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build linux x64:
BTCPayApp.Core/LDK/LDKAnnouncementBroadcaster.cs#L24
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build linux x64:
BTCPayApp.Core/LSP/JIT/VoltageFlow2Jit.cs#L66
Possible null reference return.
|
Build linux x64:
BTCPayApp.Core/LSP/JIT/FlowInfoResponse.cs#L11
Non-nullable property 'ConnectionMethods' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Loading