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:
@@ -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()));
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user