Fix most remaining warnings in satellite .NET projects

This commit is contained in:
YoshiRulz 2024-05-30 06:02:17 +10:00
parent e46267494d
commit 431b4f67e8
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
4 changed files with 3 additions and 4 deletions

View File

@ -244,8 +244,10 @@ namespace Jellyfish.Virtu
return ret;
}
#pragma warning disable CA2211 // public field
public static bool WhiteAppleDown;
public static bool BlackAppleDown;
#pragma warning restore CA2211
/// <summary>
/// Call this at 60hz with all of the currently pressed keys

View File

@ -435,10 +435,7 @@ namespace PcxFileTypePlugin.Quantize
// Loop through children looking for leaves
for (int index = 0; index < 8; index++)
{
if (null != _children[index])
{
_children[index].ConstructPalette(palette, ref paletteIndex);
}
_children[index]?.ConstructPalette(palette, ref paletteIndex);
}
}
}

Binary file not shown.