Fixed warning

This commit is contained in:
Thorsten Sommer 2025-03-27 07:38:52 +01:00
parent 3b0a35eaac
commit b91ffc3ed9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -458,6 +458,8 @@ public abstract class PluginBase : IPluginMetadata
/// <param name="message">The error message, when the icon could not be read.</param> /// <param name="message">The error message, when the icon could not be read.</param>
/// <param name="iconSVG">The read icon as SVG.</param> /// <param name="iconSVG">The read icon as SVG.</param>
/// <returns>True, when the icon could be read successfully.</returns> /// <returns>True, when the icon could be read successfully.</returns>
// ReSharper disable once OutParameterValueIsAlwaysDiscarded.Local
// ReSharper disable once UnusedMethodReturnValue.Local
private bool TryInitIconSVG(out string message, out string iconSVG) private bool TryInitIconSVG(out string message, out string iconSVG)
{ {
if (!this.state.Environment["ICON_SVG"].TryRead(out iconSVG)) if (!this.state.Environment["ICON_SVG"].TryRead(out iconSVG))