Browse Source

Remove not accessed local variable.

BDisp 9 tháng trước cách đây
mục cha
commit
04881bc5a7
1 tập tin đã thay đổi với 0 bổ sung10 xóa
  1. 0 10
      Terminal.Gui/Views/TabView.cs

+ 0 - 10
Terminal.Gui/Views/TabView.cs

@@ -1236,16 +1236,6 @@ public class TabView : View
         private void RenderTabLine ()
         {
             TabToRender [] tabLocations = _host._tabLocations;
-            int y;
-
-            if (_host.Style.TabsOnBottom)
-            {
-                y = 1;
-            }
-            else
-            {
-                y = _host.Style.ShowTopLine ? 1 : 0;
-            }
 
             View selected = null;
             int topLine = _host.Style.ShowTopLine ? 1 : 0;