mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	SDL_test: Remove unused common_usage_* static char pointers
This commit is contained in:
		 Anonymous Maarten
					Anonymous Maarten
				
			
				
					committed by
					
						 Anonymous Maarten
						Anonymous Maarten
					
				
			
			
				
	
			
			
			 Anonymous Maarten
						Anonymous Maarten
					
				
			
						parent
						
							872608b8af
						
					
				
				
					commit
					396dd16471
				
			| @@ -753,10 +753,6 @@ void SDLTest_CommonLogUsage(SDLTest_CommonState *state, const char *argv0, const | |||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
| static char *common_usage_video = NULL; |  | ||||||
| static char *common_usage_audio = NULL; |  | ||||||
| static char *common_usage_videoaudio = NULL; |  | ||||||
|  |  | ||||||
| SDL_bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv) | SDL_bool SDLTest_CommonDefaultArgs(SDLTest_CommonState *state, const int argc, char **argv) | ||||||
| { | { | ||||||
|     int i = 1; |     int i = 1; | ||||||
| @@ -2499,13 +2495,6 @@ void SDLTest_CommonQuit(SDLTest_CommonState *state) | |||||||
| { | { | ||||||
|     int i; |     int i; | ||||||
|  |  | ||||||
|     SDL_free(common_usage_video); |  | ||||||
|     SDL_free(common_usage_audio); |  | ||||||
|     SDL_free(common_usage_videoaudio); |  | ||||||
|     common_usage_video = NULL; |  | ||||||
|     common_usage_audio = NULL; |  | ||||||
|     common_usage_videoaudio = NULL; |  | ||||||
|  |  | ||||||
|     if (state->targets) { |     if (state->targets) { | ||||||
|         for (i = 0; i < state->num_windows; ++i) { |         for (i = 0; i < state->num_windows; ++i) { | ||||||
|             if (state->targets[i]) { |             if (state->targets[i]) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user