move the declaration of variables at the beginning of the block

SVN revision: 42499
This commit is contained in:
Vincent Torri 2009-09-15 21:20:08 +00:00
parent 0ba193bae0
commit 9b9c496175
1 changed files with 6 additions and 2 deletions

View 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)