From: thefiddler Date: Mon, 21 Jul 2014 13:03:24 +0000 (+0200) Subject: Fixed a large number of build warnings X-Git-Tag: 2.0-0~107^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec34d17b2136b83e89a675373c50359435d6c9e3;p=platform%2Fcore%2Fcsapi%2Fopentk.git Fixed a large number of build warnings --- diff --git a/Source/OpenTK/INativeWindow.cs b/Source/OpenTK/INativeWindow.cs index 631cda9..4535c60 100644 --- a/Source/OpenTK/INativeWindow.cs +++ b/Source/OpenTK/INativeWindow.cs @@ -261,12 +261,12 @@ namespace OpenTK event EventHandler MouseEnter; /// - /// Occurs whenever a is clicked. + /// Occurs whenever a is clicked. /// event EventHandler MouseDown; /// - /// Occurs whenever a is released. + /// Occurs whenever a is released. /// event EventHandler MouseUp; diff --git a/Source/OpenTK/Platform/Linux/Bindings/Drm.cs b/Source/OpenTK/Platform/Linux/Bindings/Drm.cs index 583dd44..dbfa8aa 100644 --- a/Source/OpenTK/Platform/Linux/Bindings/Drm.cs +++ b/Source/OpenTK/Platform/Linux/Bindings/Drm.cs @@ -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)] diff --git a/Source/OpenTK/Platform/Linux/Bindings/Libc.cs b/Source/OpenTK/Platform/Linux/Bindings/Libc.cs index db026a7..4b29624 100644 --- a/Source/OpenTK/Platform/Linux/Bindings/Libc.cs +++ b/Source/OpenTK/Platform/Linux/Bindings/Libc.cs @@ -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 diff --git a/Source/OpenTK/Platform/Windows/XInputJoystick.cs b/Source/OpenTK/Platform/Windows/XInputJoystick.cs index 910a7f0..ef38e08 100644 --- a/Source/OpenTK/Platform/Windows/XInputJoystick.cs +++ b/Source/OpenTK/Platform/Windows/XInputJoystick.cs @@ -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;