Skip to content

Commit

Permalink
compiler warnings removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonm-unity committed Jun 22, 2017
1 parent f4358b3 commit ccb1737
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion source/Core/FrameRecorder/Core/Editor/EnumHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public static int GetMaskedIndexFromEnumValue<TEnum>(int value, int mask)
{
if (!typeof(TEnum).IsEnum) throw new ArgumentException("Arg not an enum");
var values = Enum.GetValues(typeof(TEnum));
var result = new List<string>();
for( int i = 0, j = -1; i < values.Length; i++ )
{
var v = (int)values.GetValue(i);
Expand Down
1 change: 0 additions & 1 deletion source/Core/FrameRecorder/Core/Editor/RecorderWindow.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using UnityEngine.FrameRecorder;
using UnityEngine;
using UnityEngine.FrameRecorder;

namespace UnityEditor.FrameRecorder
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static void ShowRecorderWindow()
RecorderWindow.ShowAndPreselectCategory("Video");
}

protected void OnEnable()
protected override void OnEnable()
{
base.OnEnable();

Expand Down

0 comments on commit ccb1737

Please sign in to comment.