mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +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;
|
gboolean result = FALSE;
|
||||||
GRealArray *_array = (GRealArray *) array;
|
GRealArray *_array = (GRealArray *) array;
|
||||||
guint left, middle, right;
|
guint left, middle = 0, right;
|
||||||
gint val;
|
gint val;
|
||||||
|
|
||||||
g_return_val_if_fail (_array != NULL, FALSE);
|
g_return_val_if_fail (_array != NULL, FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user