From a1a577fa224ec7990444a27003595aad027299fd Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Fri, 6 May 2022 12:01:19 +0100 Subject: [PATCH] Removed field thinCliProtocol.dProgress because it was not implemented. Signed-off-by: Konstantina Chremmou --- xe/Xe.cs | 3 +-- xe/thinCLIProtocol.cs | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/xe/Xe.cs b/xe/Xe.cs index a17c7bbf2..7a592f8d0 100644 --- a/xe/Xe.cs +++ b/xe/Xe.cs @@ -38,8 +38,7 @@ namespace ThinCLI { public static void Main(string[] args) { - var tCliProtocol = new thinCLIProtocol( - i => { }, new Config()); + var tCliProtocol = new thinCLIProtocol(new Config()); string body = ""; char[] eqsep = {'='}; diff --git a/xe/thinCLIProtocol.cs b/xe/thinCLIProtocol.cs index 7195c6487..002f80c19 100644 --- a/xe/thinCLIProtocol.cs +++ b/xe/thinCLIProtocol.cs @@ -52,11 +52,8 @@ namespace ThinCLI public bool debug = false; } - public delegate void delegateProgress(int i); - public class thinCLIProtocol { - public delegateProgress dProgress; public Config conf; public string magic_string = "XenSource thin CLI protocol"; public int major = 0; @@ -64,11 +61,8 @@ namespace ThinCLI public bool dropOut; public List EnteredParamValues; - public thinCLIProtocol( - delegateProgress dProgress, - Config conf) + public thinCLIProtocol(Config conf) { - this.dProgress = dProgress; this.conf = conf; dropOut = false; EnteredParamValues = new List(); @@ -317,7 +311,6 @@ namespace ThinCLI break; } stream.Write(block, 0, n); - tCLIprotocol.dProgress(n); } } }