Browse Source

Suppressed an annoying, unnecessary compiler warning. :)

improved_timing
Ian Burgmyer 7 years ago
parent
commit
ef2cf170ea
  1. 5
      DotSDL/Sdl/Keyboard.cs

5
DotSDL/Sdl/Keyboard.cs

@ -6,6 +6,9 @@ namespace DotSDL.Sdl {
/// </summary>
internal static class Keyboard {
internal struct Keysym {
// Since this is used for interop, suppress the "never assigned to" warning.
#pragma warning disable 0649
/// <summary>
/// SDL physical key code.
/// </summary>
@ -21,6 +24,8 @@ namespace DotSDL.Sdl {
/// </summary>
internal Keymod Mod;
internal uint Unused;
#pragma warning restore 0649
}
}
}

Loading…
Cancel
Save