github-actions[bot] commented on code in PR #18218:
URL: https://github.com/apache/doris/pull/18218#discussion_r1151692371


##########
be/src/common/daemon.cpp:
##########
@@ -205,7 +205,6 @@ void Daemon::memory_maintenance_thread() {
 
 void Daemon::memory_gc_thread() {
     int32_t interval_milliseconds = config::memory_maintenance_sleep_time_ms;
-    int32_t cache_gc_interval_ms = config::cache_gc_interval_s * 1000;
     int32_t memory_minor_gc_sleep_time_ms = 0;
     int32_t memory_full_gc_sleep_time_ms = 0;
     int64_t cache_gc_freed_mem = 0;

Review Comment:
   warning: unused variable 'cache_gc_freed_mem' 
[clang-diagnostic-unused-variable]
   ```cpp
       int64_t cache_gc_freed_mem = 0;
               ^
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to