loggerd: remove redundant Params Construction (#35138)

remove redundant Params Construction
This commit is contained in:
Dean Lee
2025-05-07 23:39:05 +08:00
committed by GitHub
parent aa1b790708
commit 7c16e65347
+1 -1
View File
@@ -203,7 +203,7 @@ void handle_user_flag(LoggerdState *s) {
// mark route for uploading
Params params;
std::string routes = Params().get("AthenadRecentlyViewedRoutes");
std::string routes = params.get("AthenadRecentlyViewedRoutes");
params.put("AthenadRecentlyViewedRoutes", routes + "," + s->logger.routeName());
prev_segment = s->logger.segment();