2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix -Wunused-function warnings

This commit is contained in:
Ilya Fedin
2021-07-12 11:13:58 +04:00
committed by John Preston
parent 84b1fac0c8
commit 89765340c3
19 changed files with 6 additions and 231 deletions

View File

@@ -92,10 +92,6 @@ enum class WriteMapWhen {
Soon,
};
bool _working() {
return !_basePath.isEmpty();
}
bool CheckStreamStatus(QDataStream &stream) {
if (stream.status() != QDataStream::Ok) {
LOG(("Bad data stream status: %1").arg(stream.status()));

View File

@@ -28,12 +28,6 @@ using namespace details;
return "key_" + dataName;
}
[[nodiscard]] QString ComputeInfoName(const QString &dataName) {
// We dropped old test authorizations when migrated to multi auth.
//return "info_" + dataName + (cTestMode() ? "[test]" : "");
return "info_" + dataName;
}
} // namespace
Domain::Domain(not_null<Main::Domain*> owner, const QString &dataName)