move the declaration of variables at the beginning of the block
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 15 Sep 2009 21:20:08 +0000 (21:20 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 15 Sep 2009 21:20:08 +0000 (21:20 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@42499 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_matrixsparse.c

index 6d9d095..c5e5219 100644 (file)
@@ -924,10 +924,14 @@ eina_matrixsparse_new(unsigned long rows, unsigned long cols, void (*free_func)(
 EAPI void
 eina_matrixsparse_free(Eina_Matrixsparse *m)
 {
+   void (*free_func)(void *, void *);
+   void *user_data;
+
    Eina_Matrixsparse_Row *r;
    EINA_MAGIC_CHECK_MATRIXSPARSE(m);
-   void (*free_func)(void *, void *) = m->free.func;
-   void *user_data = m->free.user_data;
+
+   free_func = m->free.func;
+   user_data = m->free.user_data;
 
    r = m->rows;
    while (r)