Correctly put condition around the code.

SVN revision: 37244
This commit is contained in:
Cedric BAIL 2008-10-27 14:05:09 +00:00
parent d46f7e583e
commit 45273db267
1 changed files with 2 additions and 0 deletions

View File

@ -296,11 +296,13 @@ eina_stringshare_init()
"Eina Stringshare Node");
EINA_MAGIC_SET(share, EINA_MAGIC_STRINGSHARE);
#ifdef EINA_STRINGSHARE_USAGE
for (i = 0; i < sizeof (population_group) / sizeof (population_group[0]); ++i)
{
population_group[i].count = 0;
population_group[i].max = 0;
}
#endif
}
return ++_eina_stringshare_init_count;