diff --git a/Telegram/SourceFiles/core/crash_reports.cpp b/Telegram/SourceFiles/core/crash_reports.cpp index eef6bc32fe..2327942986 100644 --- a/Telegram/SourceFiles/core/crash_reports.cpp +++ b/Telegram/SourceFiles/core/crash_reports.cpp @@ -318,26 +318,6 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context, #endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS } // namespace -if (Platform::IsWindowsStoreBuild()) { - return Platform::IsWindows64Bit() - ? "WinStore64Bit" - : "WinStore32Bit"; -} else if (Platform::IsWindows32Bit()) { - return "Windows32Bit"; -} else if (Platform::IsWindows64Bit()) { - return "Windows64Bit"; -} else if (Platform::IsMacStoreBuild()) { - return "MacAppStore"; -} else if (Platform::IsOSXBuild()) { - return "OSX"; -} else if (Platform::IsMac()) { - return "MacOS"; -} else if (Platform::IsLinux32Bit()) { - return "Linux32Bit"; -} else if (Platform::IsLinux64Bit()) { - return "Linux64bit"; -} -Unexpected("Platform in CrashReports::PlatformString."); QString PlatformString() { if (Platform::IsWindowsStoreBuild()) {