diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2018-09-29 23:32:40 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2018-09-29 23:38:11 +0300 |
commit | 11689159eb7a8b96a645b956a3df071048748364 (patch) | |
tree | 312b0202ec2985f0db35ed9331d1c5f32286a532 /Duplicati/CommandLine | |
parent | 81875adcfb1c610f9b285710607592b16ea16865 (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.cs | 2 |
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
{
|