Fix warning.

GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
This commit is contained in:
levlam 2019-03-01 16:09:06 +03:00
parent f1419395df
commit a4ab41f8f8

View File

@ -3849,6 +3849,8 @@ vector<FileId> 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);