Fix macOS compile warnings

This commit is contained in:
Niklas Mischkulnig 2018-08-09 16:07:53 +02:00
parent 419c584523
commit a7327156ff
No known key found for this signature in database
GPG Key ID: 9AB442486F8CDE7B
2 changed files with 0 additions and 2 deletions

View File

@ -199,7 +199,6 @@ int uiMainStep(int wait)
// - https://github.com/gnustep/gui/blob/master/Source/NSApplication.m
int uiprivMainStep(uiprivNextEventArgs *nea, BOOL (^interceptEvent)(NSEvent *e))
{
NSDate *expire;
NSEvent *e;
NSEventType type;

View File

@ -21,7 +21,6 @@ void uiprivLoadUndocumented(void)
return;
#define GET(var, fn) *((void **) (&var)) = dlsym(handle, #fn)
GET(str, kCTFontPreferredSubFamilyNameKey);
NSLog(@"get %p", str);
if (str != NULL)
uiprivUNDOC_kCTFontPreferredSubFamilyNameKey = *str;
GET(str, kCTFontPreferredFamilyNameKey);