Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann committed Feb 13, 2024
1 parent d10e4ad commit 2b649b7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Sources/Sentry/SentryCrashReportConverter.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,6 @@ - (SentryEvent *_Nullable)convertReportToEvent
event.dist = self.userContext[@"dist"];
event.environment = self.userContext[@"environment"];

NSMutableDictionary<NSString *, id> *userContext =
[[NSMutableDictionary alloc] initWithDictionary:self.userContext[@"context"]];
NSMutableDictionary<NSString *, id> *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"];
Expand Down

0 comments on commit 2b649b7

Please sign in to comment.