mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	general: Silence some warnings when using clang
This commit is contained in:
		
							parent
							
								
									f7b4f44adf
								
							
						
					
					
						commit
						751fbfdcc3
					
				
					 12 changed files with 27 additions and 25 deletions
				
			
		|  | @ -861,8 +861,8 @@ void SplitFilename83(const std::string& filename, std::array<char, 9>& short_nam | |||
|     const std::string forbidden_characters = ".\"/\\[]:;=, "; | ||||
| 
 | ||||
|     // On a FAT32 partition, 8.3 names are stored as a 11 bytes array, filled with spaces.
 | ||||
|     short_name = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '\0'}; | ||||
|     extension = {' ', ' ', ' ', '\0'}; | ||||
|     short_name = {{' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '\0'}}; | ||||
|     extension = {{' ', ' ', ' ', '\0'}}; | ||||
| 
 | ||||
|     std::string::size_type point = filename.rfind('.'); | ||||
|     if (point == filename.size() - 1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue