From a4ab41f8f838b9d079779783b4cdf1407855fa72 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 1 Mar 2019 16:09:06 +0300 Subject: [PATCH] Fix warning. GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963 --- td/telegram/WebPagesManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/td/telegram/WebPagesManager.cpp b/td/telegram/WebPagesManager.cpp index 6a1e91656..f59964ddd 100644 --- a/td/telegram/WebPagesManager.cpp +++ b/td/telegram/WebPagesManager.cpp @@ -3849,6 +3849,8 @@ vector WebPagesManager::get_web_page_file_ids(const WebPage *web_page) c case DocumentsManager::DocumentType::VideoNote: thumbnail_file_id = td_->video_notes_manager_->get_video_note_thumbnail_file_id(web_page->document_file_id); break; + default: + break; } if (thumbnail_file_id.is_valid()) { result.push_back(thumbnail_file_id);