From a2c42b4a799283f5e811acbd99d58b68eaa7bd3e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 2 Feb 2014 09:30:30 +0000 Subject: [PATCH] array: Remove a compiler warning The GRealPtrArray variable is not necessary: we're accessing only public fields of GPtrArray. --- glib/garray.c | 1 - 1 file changed, 1 deletion(-) diff --git a/glib/garray.c b/glib/garray.c index 43f5a4d5a..bb38c6b5e 100644 --- a/glib/garray.c +++ b/glib/garray.c @@ -1310,7 +1310,6 @@ gboolean g_ptr_array_remove (GPtrArray *array, gpointer data) { - GRealPtrArray *rarray = (GRealPtrArray *)array; guint i; g_return_val_if_fail (array, FALSE);