mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01:00 
			
		
		
		
	gstrfuncs: Fix a compiler warning in g_strerror()
MSVC is complaining about this code. Let’s try to help it see the light. See https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2800
This commit is contained in:
		
				
					committed by
					
						 Philip Withnall
						Philip Withnall
					
				
			
			
				
	
			
			
			
						parent
						
							4b6cc2d87b
						
					
				
				
					commit
					65536b079d
				
			| @@ -1362,7 +1362,7 @@ g_strerror (gint errnum) | ||||
|           G_UNLOCK (errors); | ||||
|  | ||||
|           errno = saved_errno; | ||||
|           return msg; | ||||
|           return NULL; | ||||
|         } | ||||
|  | ||||
|       if (!g_get_console_charset (NULL)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user