Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2018-09-29 23:32:40 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2018-09-29 23:38:11 +0300
commit11689159eb7a8b96a645b956a3df071048748364 (patch)
tree312b0202ec2985f0db35ed9331d1c5f32286a532 /Duplicati/CommandLine
parent81875adcfb1c610f9b285710607592b16ea16865 (diff)
Disable warning about unreferenced field.
This field is unreferenced, but we might now want the object to be disposed of by the garbage collector.
Diffstat (limited to 'Duplicati/CommandLine')
-rw-r--r--Duplicati/CommandLine/BackendTester/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Duplicati/CommandLine/BackendTester/Program.cs b/Duplicati/CommandLine/BackendTester/Program.cs
index 555f8c38a..bb879fc6a 100644
--- a/Duplicati/CommandLine/BackendTester/Program.cs
+++ b/Duplicati/CommandLine/BackendTester/Program.cs
@@ -31,7 +31,9 @@ namespace Duplicati.CommandLine.BackendTester
/// <summary>
/// Used to maintain a reference to initialized system settings.
/// </summary>
+ #pragma warning disable CS0414 // The private field `Duplicati.CommandLine.BackendTester.Program.SystemSettings' is assigned but its value is never used
private static IDisposable SystemSettings;
+ #pragma warning restore CS0414 // The private field `Duplicati.CommandLine.BackendTester.Program.SystemSettings' is assigned but its value is never used
class TempFile
{