Browse Source

SDL_cocoakeyboard: Fix errant semicolons in sendPendingKey and clearPendingKey definitions

- These are ignored by Clang but produce a warning: "semicolon before method body is ignored"
Sam Lantinga 1 year ago
parent
commit
cea71fbfcc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build-scripts/pkg-support/android/__main__.py

+ 2 - 2
build-scripts/pkg-support/android/__main__.py

@@ -203,7 +203,7 @@
     _pendingTimestamp = timestamp;
     _pendingTimestamp = timestamp;
 }
 }
 
 
-- (void)sendPendingKey;
+- (void)sendPendingKey
 {
 {
     if (_pendingRawCode < 0) {
     if (_pendingRawCode < 0) {
         return;
         return;
@@ -213,7 +213,7 @@
     [self clearPendingKey];
     [self clearPendingKey];
 }
 }
 
 
-- (void)clearPendingKey;
+- (void)clearPendingKey
 {
 {
     _pendingRawCode = -1;
     _pendingRawCode = -1;
 }
 }