From b171be43315ca83e98341ebc3fa1687bf6209aaf Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 16 Feb 2018 05:41:37 +0300 Subject: [PATCH] Fix warning. GitOrigin-RevId: 263924f849fd64b5d72c6b0842385d8b27677b98 --- td/telegram/TdDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/TdDb.cpp b/td/telegram/TdDb.cpp index 72c6b65d5..83ce9da6e 100644 --- a/td/telegram/TdDb.cpp +++ b/td/telegram/TdDb.cpp @@ -40,7 +40,7 @@ Result check_encryption(string path) { } EncryptionInfo info; info.is_encrypted = binlog.get_info().wrong_password; - binlog.close(false /*need_sync*/); + binlog.close(false /*need_sync*/).ensure(); return info; }