Commit 3dd4af8c authored by Jamie McCracken's avatar Jamie McCracken

removed superflous messages being printed

parent 3e17d1c7
......@@ -3819,7 +3819,7 @@ cmp_data (gpointer key,
lookup_score = GPOINTER_TO_INT (g_hash_table_lookup (new_table, word));
tracker_log ("word %s has old score %d and new score %d so updating with total score %d", word, score, lookup_score, lookup_score-score);
g_debug ("word %s has old score %d and new score %d so updating with total score %d", word, score, lookup_score, lookup_score-score);
/* subtract scores so only words with score != 0 are updated (when score is zero, old word score is same as new word so no updating necessary)
negative scores mean either word exists in old but no new data or has a lower score in new than old */
......
......@@ -770,7 +770,11 @@ tracker_indexer_get_hits (Indexer *indexer, char **words, int service_type_min,
*total_count = 0;
g_return_val_if_fail ((indexer && words && words[0] && (limit > 0)), NULL);
g_return_val_if_fail ((indexer && (limit > 0)), NULL);
if (!words || !words[0]) {
return NULL;
}
/* do simple case of only one search word fast */
if (!words[1]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment