From 546dff7a126003ec9460376d1763a93df07af64e Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 29 Dec 2005 15:58:05 +0000 Subject: [PATCH] Fix returns with no value SVN revision: 19381 --- src/bin/e_exehist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_exehist.c b/src/bin/e_exehist.c index 06fcbaf94..24d734db7 100644 --- a/src/bin/e_exehist.c +++ b/src/bin/e_exehist.c @@ -100,7 +100,7 @@ e_exehist_popularity_get(const char *exe) int count = 0; _e_exehist_load(); - if (!_e_exehist) return; + if (!_e_exehist) return 0; for (l = _e_exehist->history; l; l = l->next) { E_Exehist_Item *ei; @@ -117,7 +117,7 @@ e_exehist_newest_run_get(const char *exe) Evas_List *l; _e_exehist_load(); - if (!_e_exehist) return; + if (!_e_exehist) return 0.0; for (l = evas_list_last(_e_exehist->history); l; l = l->prev) { E_Exehist_Item *ei;