From cb5c7c0f3eb991a3fdb740dcdc19107451307a54 Mon Sep 17 00:00:00 2001 From: Ivan Tustanivskyi Date: Thu, 27 Jun 2024 17:11:34 +0300 Subject: [PATCH] Remove redundant variable --- .../Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp b/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp index 07bca5f8..dfbb6dc9 100644 --- a/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp +++ b/plugin-dev/Source/Sentry/Private/Desktop/SentrySubsystemDesktop.cpp @@ -147,8 +147,6 @@ void SentrySubsystemDesktop::InitWithSettings(const USentrySettings* settings, U { isScreenshotAttachmentEnabled = true; - const FString ScreenshotPath = FGenericPlatformOutputDevices::GetAbsoluteLogFilename(); - #if PLATFORM_WINDOWS sentry_options_add_attachmentw(options, *GetScreenshotPath()); #elif PLATFORM_LINUX