github-actions[bot] commented on code in PR #40719: URL: https://github.com/apache/doris/pull/40719#discussion_r1756192507
########## be/src/runtime/query_context.h: ########## @@ -303,15 +303,17 @@ class QueryContext : public std::enable_shared_from_this<QueryContext> { << " goes to low memory mode due to workload group low water mark " "reached and the query enable spill"; _low_memory_mode = true; - return true; + return; } } - return _low_memory_mode; + return; } Review Comment: warning: redundant return statement at the end of a function with a void return type [readability-redundant-control-flow] ```suggestion } ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org