summaryrefslogtreecommitdiffstats
path: root/DDHotKey.xcodeproj/project.xcworkspace
diff options
context:
space:
mode:
authorTeddy Wing2021-03-07 14:54:33 +0100
committerTeddy Wing2021-03-07 14:54:33 +0100
commit615c7534df4eb4b02d6425a725039710b3d06efc (patch)
treebde5058dfbb4af3957cda0be888a6168a2483caa /DDHotKey.xcodeproj/project.xcworkspace
parent13297ddeb7d89356f75e0e21f123a69a3f692f3d (diff)
downloadDDHotKey-remove-modifier-mask-deprecation-warnings.tar.bz2
Fix `-Wnon-literal-null-conversion` warningsremove-modifier-mask-deprecation-warnings
$ clang -x objective-c \ -fobjc-arc \ -c \ DDHotKeyCenter.m DDHotKeyCenter.m:188:85: warning: expression which evaluates to zero treated as a null pointer constant of type 'DDHotKey *' [-Wnon-literal-null-conversion] if ([self hasRegisteredHotKeyWithKeyCode:keyCode modifierFlags:flags]) { return NO; } ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc.h:90:13: note: expanded from macro 'NO' #define NO __objc_no ^~~~~~~~~ DDHotKeyCenter.m:200:85: warning: expression which evaluates to zero treated as a null pointer constant of type 'DDHotKey *' [-Wnon-literal-null-conversion] if ([self hasRegisteredHotKeyWithKeyCode:keyCode modifierFlags:flags]) { return NO; } ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/objc/objc.h:90:13: note: expanded from macro 'NO' #define NO __objc_no ^~~~~~~~~ 2 warnings generated.
Diffstat (limited to 'DDHotKey.xcodeproj/project.xcworkspace')
0 files changed, 0 insertions, 0 deletions