From 22dd1781d105d923ff1cf975555c839c44327647 Mon Sep 17 00:00:00 2001 From: englebass Date: Sat, 27 Nov 2010 21:51:07 +0000 Subject: [PATCH] init count to 0 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@55038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/efreet_icon_cache_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/efreet_icon_cache_dump.c b/src/bin/efreet_icon_cache_dump.c index e63b045..95ab1b0 100644 --- a/src/bin/efreet_icon_cache_dump.c +++ b/src/bin/efreet_icon_cache_dump.c @@ -29,7 +29,7 @@ dump(Efreet_Icon_Theme *theme, Eet_File *ef) Efreet_Cache_Theme *cache; Eina_Iterator *it; const char *key; - unsigned int count; + unsigned int count = 0; double start, avg; start = ecore_time_get(); @@ -62,7 +62,7 @@ dump(Efreet_Icon_Theme *theme, Eet_File *ef) start = ecore_time_get() - start; avg = start / count; - printf("read: %s - %i paths (time: %f) (avg %f)\n", theme->name.internal, count, start, avg); + printf("read: %s - %u paths (time: %f) (avg %f)\n", theme->name.internal, count, start, avg); } int -- 2.7.4