mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 01:34:38 +00:00 
			
		
		
		
	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"
This commit is contained in:
		
							
								
								
									
										0
									
								
								build-scripts/pkg-support/android/__main__.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								build-scripts/pkg-support/android/__main__.py
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -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;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user