Skip to content

Commit c084f4c

Browse files
authored
Merge pull request kstenerud#236 from bamx23/fix-global-vars
Fix static global variables in KSCrashReportFilterAppleFmt
2 parents 8ade98a + 5600121 commit c084f4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/KSCrash/Reporting/Filters/KSCrashReportFilterAppleFmt.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ @implementation KSCrashReportFilterAppleFmt
103103
@synthesize reportStyle = _reportStyle;
104104

105105
/** Date formatter for Apple date format in crash reports. */
106-
NSDateFormatter* g_dateFormatter;
106+
static NSDateFormatter* g_dateFormatter;
107107

108108
/** Date formatter for RFC3339 date format. */
109-
NSDateFormatter* g_rfc3339DateFormatter;
109+
static NSDateFormatter* g_rfc3339DateFormatter;
110110

111111
/** Printing order for registers. */
112-
NSDictionary* g_registerOrders;
112+
static NSDictionary* g_registerOrders;
113113

114114
+ (void) initialize
115115
{

0 commit comments

Comments
 (0)