diff --git a/include/opendht/scheduler.h b/include/opendht/scheduler.h
index 1f7b9bcc4214126fb82cff0ae495ed8ba337faa5..01cee921a47b77a1a5e0b8dbc16fee98ef5fa874 100644
--- a/include/opendht/scheduler.h
+++ b/include/opendht/scheduler.h
@@ -84,7 +84,6 @@ public:
      * @return The time for the next job to run.
      */
     time_point run() {
-        size_t count {0};
         while (not timers.empty()) {
             auto timer = timers.begin();
             /*
@@ -100,9 +99,7 @@ public:
 
             if (job->do_)
                 job->do_();
-            count++;
         }
-        std::cerr << "run " << count << " scheduled " << timers.size() << std::endl;
         return getNextJobTime();
     }