Skip to content

Commit

Permalink
bugfix Clazy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed May 3, 2024
1 parent 39e01d2 commit d4a93f8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tom/src/tom/commands/completecommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,10 @@ CompleteCommand::printGuessedSectionNamesForAbout(const QStringView sectionNames
};

// Initialize local variables
auto [sectionNameArg,
allSectionNamesFiltered,
isFirstSectionNameArg,
printAllSectionNames
const auto [sectionNameArg,
allSectionNamesFiltered,
isFirstSectionNameArg,
printAllSectionNames
] = initializePrintArrayOptionValues(sectionNamesArg, allSectionNames);

/* Print only one space if all array option values have already been entered,
Expand Down Expand Up @@ -467,10 +467,10 @@ int CompleteCommand::printGuessedConnectionNames(const QString &connectionNamesA
return EXIT_SUCCESS;

// Initialize local variables
auto [connectionNameArg,
allConnectionNamesFiltered,
isFirstConnectionNameArg,
printAllConnectionNames
const auto [connectionNameArg,
allConnectionNamesFiltered,
isFirstConnectionNameArg,
printAllConnectionNames
] = initializePrintArrayOptionValues(connectionNamesArg, allConnectionNames);

/* Print only one space if all array option values have already been entered,
Expand Down

0 comments on commit d4a93f8

Please sign in to comment.