Huw Davies (@huw) commented about dlls/winemac.drv/display.c:
- ret &= set_setting_value(hkey, "DefaultSettings.BitsPerPel", dm->dmBitsPerPel);
- ret &= set_setting_value(hkey, "DefaultSettings.XResolution", dm->dmPelsWidth);
- ret &= set_setting_value(hkey, "DefaultSettings.YResolution", dm->dmPelsHeight);
- ret &= set_setting_value(hkey, "DefaultSettings.VRefresh", dm->dmDisplayFrequency);
- ret &= set_setting_value(hkey, "DefaultSettings.Flags", dm->dmDisplayFlags);
- ret &= set_setting_value(hkey, "DefaultSettings.XPanning", dm->dmPosition.x);
- ret &= set_setting_value(hkey, "DefaultSettings.YPanning", dm->dmPosition.y);
- ret &= set_setting_value(hkey, "DefaultSettings.Orientation", dm->dmDisplayOrientation);
- ret &= set_setting_value(hkey, "DefaultSettings.FixedOutput", dm->dmDisplayFixedOutput);
- NtClose(hkey);
- release_display_device_init_mutex(mutex);
- return ret;
-}
Sorry, missed this one: ``` dlls/winemac.drv/display.c:63:15: warning: unused function 'get_display_device_init_mutex' [-Wunused-function] static HANDLE get_display_device_init_mutex(void) ^ dlls/winemac.drv/display.c:76:13: warning: unused function 'release_display_device_init_mutex' [-Wunused-function] static void release_display_device_init_mutex(HANDLE mutex) ^ ```