From: caro Date: Tue, 15 Sep 2009 21:20:08 +0000 (+0000) Subject: move the declaration of variables at the beginning of the block X-Git-Tag: 2.0_alpha~70^2~806 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f92f08ff5248569879dadbb817f7dc624053b69a;p=framework%2Fuifw%2Feina.git move the declaration of variables at the beginning of the block git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@42499 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eina_matrixsparse.c b/src/lib/eina_matrixsparse.c index 6d9d095..c5e5219 100644 --- a/src/lib/eina_matrixsparse.c +++ b/src/lib/eina_matrixsparse.c @@ -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)