From 0c6c99d9207304ba53ee855c3408a34e8520854c Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 6 Feb 2018 11:29:12 +0100 Subject: [PATCH] Clean up LoadSettings method. --- ATxService/AutoTx.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index bdc3320..4f81225 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -55,7 +55,7 @@ namespace ATxService // to prevent accidentially launching new transfers etc. } - private TxState _transferState; + private TxState _transferState = TxState.Stopped; private ServiceConfig _config; private ServiceStatus _status; @@ -189,7 +189,6 @@ namespace ATxService /// </summary> private void LoadSettings() { try { - _transferState = TxState.Stopped; LoadConfigXml(); LoadStatusXml(); -- GitLab