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


##########
be/src/runtime/query_context.cpp:
##########
@@ -193,7 +195,7 @@ bool QueryContext::cancel(bool v, std::string msg, Status 
new_status, int fragme
             pipeline_ctx->cancel(PPlanFragmentCancelReason::INTERNAL_ERROR, 
msg);
         }
     }
-    return true;
+    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: [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