[glib] array: Remove a compiler warning



commit a2c42b4a799283f5e811acbd99d58b68eaa7bd3e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Feb 2 09:30:30 2014 +0000

    array: Remove a compiler warning
    
    The GRealPtrArray variable is not necessary: we're accessing only public
    fields of GPtrArray.

 glib/garray.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/glib/garray.c b/glib/garray.c
index 43f5a4d..bb38c6b 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]