Fixed a large number of build warnings

This commit is contained in:
thefiddler 2014-07-21 15:03:24 +02:00
parent b07e5941dd
commit ec34d17b21
4 changed files with 8 additions and 2 deletions

View 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;

View 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)]

View 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

View 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;