Use discards OUT-507
authorThomas
Thu, 13 Dec 2018 09:01:33 +0100
branchOUT-507
changeset 2504624b9e04235e
parent 2503 bbf25e488a3a
child 2505 8a26c367dfe8
Use discards
DecryptionStack.cs
Wrappers/WatchedWindow.cs
     1.1 --- a/DecryptionStack.cs	Wed Dec 12 12:43:36 2018 +0100
     1.2 +++ b/DecryptionStack.cs	Thu Dec 13 09:01:33 2018 +0100
     1.3 @@ -314,7 +314,7 @@
     1.4                           * This is needed as decryption is asynchronous but the MailItem reference still needs to be released.
     1.5                           * Do NOT use omi or cmi references after this point!
     1.6                           */
     1.7 -                        var _ = cmi.StartProcessing(false, true);
     1.8 +                        _ = cmi.StartProcessing(false, true);
     1.9                          Log.Verbose("DecryptionStack.DecryptionTimer_Tick: started decryption of item with entryId " + omi?.EntryID);
    1.10                      }
    1.11  
     2.1 --- a/Wrappers/WatchedWindow.cs	Wed Dec 12 12:43:36 2018 +0100
     2.2 +++ b/Wrappers/WatchedWindow.cs	Thu Dec 13 09:01:33 2018 +0100
     2.3 @@ -635,7 +635,7 @@
     2.4                  Log.Verbose("ImmediateRatingAndUIUpdate: Starting processing.");
     2.5  
     2.6                  // Start the rating calculation/decryption process
     2.7 -                var _ = this.cryptableMailItem.StartProcessing(this.IsDraft);
     2.8 +                _ = this.cryptableMailItem.StartProcessing(this.IsDraft);
     2.9                  this.processingOngoing = true;
    2.10  
    2.11                  // If we have a draft message, fetch directly a preview outgoing rating
    2.12 @@ -1252,7 +1252,7 @@
    2.13              // Process the mail item now that the cache is updated
    2.14              if (this.cryptableMailItem.IsOriginallyEncrypted)
    2.15              {
    2.16 -                var _ = this.cryptableMailItem.StartProcessing(this.IsDraft);
    2.17 +                _ = this.cryptableMailItem.StartProcessing(this.IsDraft);
    2.18              }
    2.19          }
    2.20