mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 02:16:17 +01:00
Fix non-initialized variable in glib/garray.c
This commit is contained in:
parent
112ad3d591
commit
800457e102
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user