Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Fix warning caused by Plcrashreporter 1.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Scholtysik (Reimold) committed Oct 1, 2016
1 parent 22d2922 commit f2a9e74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Classes/BITCrashReportTextFormatter.m
Expand Up @@ -277,7 +277,8 @@ + (NSString *)stringValueForCrashReport:(BITPLCrashReport *)report crashReporter
if (codeType != nil)
break;
}

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
/* If we were unable to determine the code type, fall back on the legacy architecture value. */
if (codeType == nil) {
switch (report.systemInfo.architecture) {
Expand All @@ -303,7 +304,8 @@ + (NSString *)stringValueForCrashReport:(BITPLCrashReport *)report crashReporter
lp64 = true;
break;
}
}
}
#pragma GCC diagnostic pop
}

{
Expand Down

0 comments on commit f2a9e74

Please sign in to comment.