From 23cef6cb536865a7bc43fc721fe3dab01c6be6a1 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 9 Jan 2018 15:29:10 +0100 Subject: [PATCH] Remove always-true check. --- AutoTx/AutoTx.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index f75e424..e2cacbc 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -192,12 +192,10 @@ namespace AutoTx private void StartupSummary() { var msg = "Startup Summary:\n\n------ RoboSharp ------\n"; var roboDll = System.Reflection.Assembly.GetAssembly(typeof(RoboCommand)).Location; - if (roboDll != null) { - var versionInfo = FileVersionInfo.GetVersionInfo(roboDll); - msg += " > DLL file: " + roboDll + "\n" + - " > DLL description: " + versionInfo.Comments + "\n" + - " > DLL version: " + versionInfo.FileVersion + "\n"; - } + var versionInfo = FileVersionInfo.GetVersionInfo(roboDll); + msg += " > DLL file: " + roboDll + "\n" + + " > DLL description: " + versionInfo.Comments + "\n" + + " > DLL version: " + versionInfo.FileVersion + "\n"; msg += "\n------ Loaded status flags ------\n" + _status.Summary() + -- GitLab