[tracker-miners/wip/carlosg/delay-monitors: 14/19] libtracker-miner: Drop obsolete code comment




commit 492d030a2530cb60b7f6c0f07b00ddf9d027d3c1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Nov 8 19:04:27 2020 +0100

    libtracker-miner: Drop obsolete code comment
    
    There's no error reporting here anymore.

 src/libtracker-miner/tracker-crawler.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index 33c914562..c2faaebb6 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -746,9 +746,6 @@ enumerate_next_cb (GObject      *object,
                 * b) no more items
                 */
                if (error) {
-                       /* We don't consider cancellation an error, so we only
-                        * log errors which are not cancellations.
-                        */
                        g_task_return_error (root_info->task, error);
                        g_object_unref (root_info->task);
                        return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]