Explorar o código

Remove not accessed local variable.

BDisp hai 9 meses
pai
achega
04881bc5a7
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  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 ()
         private void RenderTabLine ()
         {
         {
             TabToRender [] tabLocations = _host._tabLocations;
             TabToRender [] tabLocations = _host._tabLocations;
-            int y;
-
-            if (_host.Style.TabsOnBottom)
-            {
-                y = 1;
-            }
-            else
-            {
-                y = _host.Style.ShowTopLine ? 1 : 0;
-            }
 
 
             View selected = null;
             View selected = null;
             int topLine = _host.Style.ShowTopLine ? 1 : 0;
             int topLine = _host.Style.ShowTopLine ? 1 : 0;