Fixed a large number of build warnings
authorthefiddler <stapostol@gmail.com>
Mon, 21 Jul 2014 13:03:24 +0000 (15:03 +0200)
committerthefiddler <stapostol@gmail.com>
Mon, 21 Jul 2014 13:03:24 +0000 (15:03 +0200)
Source/OpenTK/INativeWindow.cs
Source/OpenTK/Platform/Linux/Bindings/Drm.cs
Source/OpenTK/Platform/Linux/Bindings/Libc.cs
Source/OpenTK/Platform/Windows/XInputJoystick.cs

index 631cda9..4535c60 100644 (file)
@@ -261,12 +261,12 @@ namespace OpenTK
         event EventHandler<EventArgs> MouseEnter;
 
         /// <summary>
-        /// Occurs whenever a <see cref="MouseButton"/> is clicked.
+        /// Occurs whenever a <see cref="OpenTK.Input.MouseButton"/> is clicked.
         /// </summary>
         event EventHandler<Input.MouseButtonEventArgs> MouseDown;
 
         /// <summary>
-        /// Occurs whenever a <see cref="MouseButton"/> is released.
+        /// Occurs whenever a <see cref="OpenTK.Input.MouseButton"/> is released.
         /// </summary>
         event EventHandler<Input.MouseButtonEventArgs> MouseUp;
 
index 583dd44..dbfa8aa 100644 (file)
@@ -30,6 +30,8 @@
 using System;
 using System.Runtime.InteropServices;
 
+#pragma warning disable 0649 // field is never assigned
+
 namespace OpenTK.Platform.Linux
 {
     [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index db026a7..4b29624 100644 (file)
@@ -31,6 +31,8 @@ using System;
 using System.Runtime.InteropServices;
 using System.Text;
 
+#pragma warning disable 0649 // field is never assigned
+
 namespace OpenTK.Platform.Linux
 {
     partial class Libc
index 910a7f0..ef38e08 100644 (file)
@@ -237,6 +237,8 @@ namespace OpenTK.Platform.Windows
             Any = 0xff
         }
 
+#pragma warning disable 0649 // field is never assigned
+
         struct XInputThresholds
         {
             public const int LeftThumbDeadzone = 7849;