From e9f5f0c9488db8763ee66b8e6105930966b023a9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 12 Mar 2023 10:16:26 +0400 Subject: [PATCH] Beta version 4.6.10: Fix build with GCC. --- Telegram/SourceFiles/boxes/add_contact_box.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/add_contact_box.cpp b/Telegram/SourceFiles/boxes/add_contact_box.cpp index a65a155ca..52908506c 100644 --- a/Telegram/SourceFiles/boxes/add_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp @@ -709,7 +709,6 @@ void GroupInfoBox::createGroup( auto image = _photo->takeResultImage(); const auto period = _ttlPeriod; const auto navigation = _navigation; - const auto controller = navigation->parentController(); const auto done = _done; getDelegate()->hideLayer(); // Destroys 'this'.