Fix build on Clang/GCC.

This commit is contained in:
John Preston 2021-05-21 19:01:23 +04:00
parent cbe6e1caad
commit b56749426b
2 changed files with 0 additions and 3 deletions

View file

@ -323,7 +323,6 @@ PeerData *readPeer(
}
}
if (apply) {
using LocationType = StorageFileLocation::Type;
const auto location = userpic->convertToModernPeerPhoto(
result->id.value,
userpicAccessHash,

View file

@ -1657,8 +1657,6 @@ void Account::readStickerSets(
return failed();
}
for (auto i = 0; i != count; ++i) {
using LocationType = StorageFileLocation::Type;
quint64 setId = 0, setAccess = 0;
QString setTitle, setShortName;
qint32 scnt = 0;