Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 816f0ce

Browse files
authored
Merge pull request #158 from github-for-unity/fixes/remove-unused-variables
Removing unused variables and fields
2 parents 5726fba + 10b3d4a commit 816f0ce

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

src/GitHub.Api/Application/ApplicationManagerBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ abstract class ApplicationManagerBase : IApplicationManager
1111
{
1212
protected static ILogging Logger { get; } = Logging.GetLogger<IApplicationManager>();
1313

14-
private IEnvironment environment;
1514
private RepositoryManager repositoryManager;
1615

1716
public ApplicationManagerBase(SynchronizationContext synchronizationContext)

src/GitHub.Api/NewTaskSystem/TaskBase.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ public TaskBase(CancellationToken token)
413413
public TaskBase(Task<TResult> task)
414414
: base()
415415
{
416-
var scheduler = TaskManager.GetScheduler(Affinity);
417416
Task = new Task<TResult>(t =>
418417
{
419418
TResult ret = default(TResult);

src/UnityExtension/Assets/Editor/GitHub.Unity/Tasks/EvaluateProjectConfigurationTask.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ private IEnumerable<ProjectConfigurationIssue> EvaluateGitIgnore()
321321
}
322322
}
323323

324-
public override string Name { get { return "Project Evaluation"; } }
325-
326324
private enum SerializationSetting
327325
{
328326
Mixed = 0,

src/tests/UnitTests/Authentication/KeychainTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ public void ShouldConnectSetCredentialsAndClear()
416416

417417
const string username = "SomeUser";
418418
const string password = "SomePassword";
419-
const string token = "SomeToken";
420419

421420
var hostUri = new UriString("https://github.com/");
422421

0 commit comments

Comments
 (0)