mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-28 18:33:45 +08:00
loggerd: remove redundant Params Construction (#35138)
remove redundant Params Construction
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user