浏览代码

Remove not accessed local variable.

BDisp 9 月之前
父节点
当前提交
04881bc5a7
共有 1 个文件被更改,包括 0 次插入10 次删除
  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;