diff --git a/glib/garray.c b/glib/garray.c index b44156215..1ab3beeda 100644 --- a/glib/garray.c +++ b/glib/garray.c @@ -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);