From 1a98b2de64b290cf80d0d80e7e540aaac4ba4d0c Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 9 Sep 2010 08:18:14 +0300 Subject: [PATCH] * mu-cmd-index: minor, cosmetic --- src/mu-index.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mu-index.c b/src/mu-index.c index b941d2bb..d2abb0c5 100644 --- a/src/mu-index.c +++ b/src/mu-index.c @@ -59,11 +59,10 @@ mu_index_new (const char *xpath) * mu_index_run instead? */ if (mu_util_db_is_empty (xpath)) index->_needs_reindex = FALSE; - else { + else index->_needs_reindex = mu_util_db_version_up_to_date (xpath) ? FALSE : TRUE; - } - + return index; }