From f93b735575fec514d8bb073560ef6d533f3e32eb Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 17 Dec 2014 12:14:44 +0100 Subject: [PATCH] Use static linkage for exception handler in iOS tester --- LinphoneTester/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LinphoneTester/main.m b/LinphoneTester/main.m index 4267e33f9..aba97bc9f 100644 --- a/LinphoneTester/main.m +++ b/LinphoneTester/main.m @@ -20,7 +20,7 @@ static NSString * const kKEY_ExceptionCallStack = @"UnhandledExceptionCallStack" static NSString * const kKEY_ExceptionScreenshot = @"UnhandledExceptionScreenshot"; static NSString * const kKEY_ExceptionTimestamp = @"UnhandledExceptionTimestamp"; -__unused void unhandledExceptionHandler(NSException *exception) { +static void unhandledExceptionHandler(NSException *exception) { NSMutableDictionary *crashReport = [NSMutableDictionary dictionary]; crashReport[kKEY_ExceptionName] = exception.name; crashReport[kKEY_ExceptionReason] = exception.reason;