From 9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 16 Nov 2021 20:38:14 +0100 Subject: Fix warnings shown by GCC (#47) * fix all warnings shown by GCC --- components/chatmessage.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'components/chatmessage.cpp') diff --git a/components/chatmessage.cpp b/components/chatmessage.cpp index 759443f..4408f62 100644 --- a/components/chatmessage.cpp +++ b/components/chatmessage.cpp @@ -308,8 +308,6 @@ Gtk::Widget *ChatMessageItemContainer::CreateEmbedComponent(const EmbedData &emb constexpr static int AuthorIconSize = 20; if (embed.Author->ProxyIconURL.has_value()) { - auto &img = Abaddon::Get().GetImageManager(); - auto *author_img = Gtk::manage(new LazyImage(*embed.Author->ProxyIconURL, AuthorIconSize, AuthorIconSize)); author_img->set_halign(Gtk::ALIGN_START); author_img->set_valign(Gtk::ALIGN_START); -- cgit v1.2.3