Removed unnecessary casts

This commit is contained in:
Joshua Askharoun
2021-03-31 17:15:06 -05:00
parent f7d5fa4120
commit 9b09412b45
587 changed files with 7864 additions and 7862 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace Microsoft.Iris.Input
internal KeyCommandInfo OnRawInput(CommandCode command, ref RawHidData args)
{
KeyCommandInfo keyCommandInfo = (KeyCommandInfo)null;
KeyCommandInfo keyCommandInfo = null;
if (command != CommandCode.None)
keyCommandInfo = KeyCommandInfo.Create(args._action, args._deviceType, command);
return keyCommandInfo;