diff options
author | Karen Martikyan <karen.martikyan@digitain.com> | 2020-09-27 15:58:57 +0300 |
---|---|---|
committer | Karen Martikyan <karen.martikyan@digitain.com> | 2020-09-27 15:58:57 +0300 |
commit | 3aa96accaa29dbac1e833952baabd2be7b00401b (patch) | |
tree | ffb37465512f5ca95a7624ff7cb341a3929d33f1 /Duplicati/Library | |
parent | 6678e373745edd5d29f1101a0b1cd95483d77ead (diff) |
Code quality issues fixed
Diffstat (limited to 'Duplicati/Library')
-rw-r--r-- | Duplicati/Library/Backend/Telegram/StreamReadHelper.cs | 2 | ||||
-rw-r--r-- | Duplicati/Library/Backend/Telegram/TelegramBackend.cs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs b/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs index dfc272d07..1821f8d84 100644 --- a/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs +++ b/Duplicati/Library/Backend/Telegram/StreamReadHelper.cs @@ -9,7 +9,7 @@ /// Once the stream has returned 0 as the read count it is disposed, /// and subsequent read requests will throw an ObjectDisposedException /// </summary> - private bool m_empty = false; + private bool m_empty; /// <summary> /// Basic initialization, just pass the stream to the super class diff --git a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs index 00f93f2e6..54b7b68c5 100644 --- a/Duplicati/Library/Backend/Telegram/TelegramBackend.cs +++ b/Duplicati/Library/Backend/Telegram/TelegramBackend.cs @@ -343,8 +343,7 @@ namespace Duplicati.Library.Backend case TLChannel c: lastDate = c.Date; break; - default: - break; } + } yield return chat; } |