mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 17:06:03 +00:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -124,7 +124,6 @@ bool MultiSelect::Item::paintCached(Painter &p, int x, int y, int outerWidth) {
|
||||
PainterHighQualityEnabler hq(p);
|
||||
|
||||
auto opacity = _visibility.value(_hiding ? 0. : 1.);
|
||||
auto scale = opacity + _st.minScale * (1. - opacity);
|
||||
auto height = opacity * _cache.height() / _cache.devicePixelRatio();
|
||||
auto width = opacity * _cache.width() / _cache.devicePixelRatio();
|
||||
|
||||
@@ -749,7 +748,7 @@ void MultiSelect::Inner::removeItem(uint64 itemId) {
|
||||
|
||||
item->hideAnimated();
|
||||
_idsMap.erase(item->id());
|
||||
auto inserted = _removingItems.insert(std::move(item));
|
||||
_removingItems.insert(std::move(item));
|
||||
_items.erase(_items.begin() + i);
|
||||
|
||||
if (_active == i) {
|
||||
|
Reference in New Issue
Block a user