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:
Matthias Clasen 2022-10-16 19:00:10 -04:00 committed by Philip Withnall
parent 4b6cc2d87b
commit 65536b079d

View File

@ -1362,7 +1362,7 @@ g_strerror (gint errnum)
G_UNLOCK (errors);
errno = saved_errno;
return msg;
return NULL;
}
if (!g_get_console_charset (NULL))