Fix non-initialized variable in glib/garray.c

This commit is contained in:
Loic Le Page 2022-01-19 18:59:14 +01:00 committed by Loïc Le Page
parent 112ad3d591
commit 800457e102

View File

@ -936,7 +936,7 @@ g_array_binary_search (GArray *array,
{
gboolean result = FALSE;
GRealArray *_array = (GRealArray *) array;
guint left, middle, right;
guint left, middle = 0, right;
gint val;
g_return_val_if_fail (_array != NULL, FALSE);