From 2b649b74dc7317a12ec12ca8540248750dd949b0 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Tue, 13 Feb 2024 13:56:12 +0100 Subject: [PATCH] remove redundant code --- Sources/Sentry/SentryCrashReportConverter.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Sources/Sentry/SentryCrashReportConverter.m b/Sources/Sentry/SentryCrashReportConverter.m index f6f25f23c47..d7d7b50fdb1 100644 --- a/Sources/Sentry/SentryCrashReportConverter.m +++ b/Sources/Sentry/SentryCrashReportConverter.m @@ -114,13 +114,6 @@ - (SentryEvent *_Nullable)convertReportToEvent event.dist = self.userContext[@"dist"]; event.environment = self.userContext[@"environment"]; - NSMutableDictionary *userContext = - [[NSMutableDictionary alloc] initWithDictionary:self.userContext[@"context"]]; - NSMutableDictionary *deviceContext = - [[NSMutableDictionary alloc] initWithDictionary:userContext[@"device"]]; - [deviceContext removeObjectForKey:@"storage_size"]; - [deviceContext removeObjectForKey:@"free_storage"]; - event.context = [self filteredUserContextContext]; event.extra = self.userContext[@"extra"]; event.tags = self.userContext[@"tags"];