Fix redefinition of local variable in glib/tests/strfuncs.c

This commit is contained in:
Loic Le Page 2022-01-19 18:53:30 +01:00 committed by Loïc Le Page
parent cbc3d65f6d
commit 22b7182d2a

View File

@ -2440,15 +2440,14 @@ test_ascii_string_to_number_usual (void)
case UNSIGNED:
{
guint64 value64 = 0;
result = g_ascii_string_to_unsigned (data->str,
data->base,
data->min,
data->max,
&value64,
&valueu64,
&error);
value = value64;
g_assert_cmpint (value, ==, value64);
value = valueu64;
g_assert_cmpint (value, ==, valueu64);
break;
}