From 96b46c554ef02ddee2b93bab50e5a8c94b068b71 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 13 Jan 2022 16:29:13 +0530 Subject: [PATCH] Add type annotations to dictionaries --- glfw/cocoa_init.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/cocoa_init.m b/glfw/cocoa_init.m index 8e5f0f625..33f3fd3f8 100644 --- a/glfw/cocoa_init.m +++ b/glfw/cocoa_init.m @@ -513,11 +513,11 @@ typedef enum AppleShortcutNames { kSHKTurnFocusFollowingOnOrOff = 179, // } AppleShortcutNames; -static NSDictionary *global_shortcuts = nil; +static NSDictionary *global_shortcuts = nil; static void build_global_shortcuts_lookup(void) { - NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithCapacity:128]; // will be autoreleased + NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithCapacity:128]; // will be autoreleased NSDictionary *apple_settings = [[NSUserDefaults standardUserDefaults] persistentDomainForName:@"com.apple.symbolichotkeys"]; if (apple_settings) { NSDictionary *symbolic_hotkeys = [apple_settings objectForKey:@"AppleSymbolicHotKeys"];