Correctly put condition around the code.
authorcedric <cedric>
Mon, 27 Oct 2008 14:05:09 +0000 (14:05 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 27 Oct 2008 14:05:09 +0000 (14:05 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@37244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_stringshare.c

index 24a9f78..4c4cc22 100644 (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;