Skip to content

Commit d3142eb

Browse files
committed
Version 5.10.6: Fix build.
1 parent d914c6b commit d3142eb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Telegram/SourceFiles/boxes/star_gift_box.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2580,7 +2580,7 @@ void UpgradeBox(
25802580
not_null<const style::icon*> icon) {
25812581
auto raw = container->add(
25822582
object_ptr<Ui::VerticalLayout>(container));
2583-
const auto widget = raw->add(
2583+
raw->add(
25842584
object_ptr<Ui::FlatLabel>(
25852585
raw,
25862586
std::move(title) | Ui::Text::ToBold(),

Telegram/SourceFiles/media/audio/media_audio_local_cache.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ constexpr auto kFrameSize = 4096;
120120
outCodecContext->channel_layout = AV_CH_LAYOUT_STEREO;
121121
}
122122
#endif // DA_FFMPEG_NEW_CHANNEL_LAYOUT
123-
const auto inrate = inCodecContext->sample_rate;
124123
const auto rate = 44'100;
125124
outCodecContext->sample_fmt = AV_SAMPLE_FMT_S16;
126125
outCodecContext->time_base = AVRational{ 1, rate };

0 commit comments

Comments
 (0)