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

Commit f9e7948

Browse files
Removing unused variables from HistoryView
1 parent 29cf4b9 commit f9e7948

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/HistoryView.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,15 +473,13 @@ private void RevertCommit()
473473
private bool HistoryEntry(GitLogEntry entry, LogEntryState state, bool selected)
474474
{
475475
var entryRect = GUILayoutUtility.GetRect(Styles.HistoryEntryHeight, Styles.HistoryEntryHeight);
476-
var timelineBarRect = new Rect(entryRect.x + Styles.BaseSpacing, 0, 2, Styles.HistoryDetailsHeight);
477476

478477
if (Event.current.type == EventType.Repaint)
479478
{
480479
var keyboardFocus = GUIUtility.keyboardControl == listID;
481480

482481
var summaryRect = new Rect(entryRect.x, entryRect.y + (Styles.BaseSpacing / 2), entryRect.width, Styles.HistorySummaryHeight + Styles.BaseSpacing);
483482
var timestampRect = new Rect(entryRect.x, entryRect.yMax - Styles.HistoryDetailsHeight - (Styles.BaseSpacing / 2), entryRect.width, Styles.HistoryDetailsHeight);
484-
var authorRect = new Rect(timestampRect.xMax, timestampRect.y, timestampRect.width, timestampRect.height);
485483

486484
var contentOffset = new Vector2(Styles.BaseSpacing * 2, 0);
487485

@@ -630,7 +628,6 @@ private void Push()
630628

631629
private void Fetch()
632630
{
633-
var remote = Repository.CurrentRemote.HasValue ? Repository.CurrentRemote.Value.Name : String.Empty;
634631
Repository
635632
.Fetch()
636633
.FinallyInUI((success, e) => {

0 commit comments

Comments
 (0)