array: Remove a compiler warning

The GRealPtrArray variable is not necessary: we're accessing only public
fields of GPtrArray.
This commit is contained in:
Emmanuele Bassi 2014-02-02 09:30:30 +00:00
parent 017349823c
commit a2c42b4a79

View File

@ -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);