mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +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:
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))
|
||||
|
Loading…
Reference in New Issue
Block a user