mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
Merge branch 'fix_more_warnings' into 'main'
Fix more warnings See merge request GNOME/glib!2119
This commit is contained in:
commit
71edc3ffe1
@ -441,7 +441,7 @@ g_utf8_collate_key (const gchar *str,
|
||||
if (str_locale)
|
||||
{
|
||||
xfrm_len = strxfrm (NULL, str_locale, 0);
|
||||
if (xfrm_len < 0 || xfrm_len >= G_MAXINT - 2)
|
||||
if (xfrm_len >= G_MAXINT - 2)
|
||||
{
|
||||
g_free (str_locale);
|
||||
str_locale = NULL;
|
||||
|
@ -192,7 +192,7 @@ test_once_init_multi_threaded (void)
|
||||
static void
|
||||
test_once_init_string (void)
|
||||
{
|
||||
static const gchar *val;
|
||||
static gchar *val;
|
||||
|
||||
g_test_summary ("Test g_once_init_{enter,leave}() usage with a string");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user