From 9ce5ad79a74bc98e1fd97d72e9008674ef99d918 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Fri, 24 Nov 2023 23:11:03 +0100 Subject: [PATCH] comment out unused variables of overloaded methods --- src/project_manager/ros_build_system.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/project_manager/ros_build_system.cpp b/src/project_manager/ros_build_system.cpp index ea092652..4c76de2c 100644 --- a/src/project_manager/ros_build_system.cpp +++ b/src/project_manager/ros_build_system.cpp @@ -20,39 +20,39 @@ void ROSBuildSystem::triggerParsing() guardParsingRun().markAsSuccess(); } -bool ROSBuildSystem::addFiles(ProjectExplorer::Node *context, const Utils::FilePaths &filePaths, Utils::FilePaths *notAdded) +bool ROSBuildSystem::addFiles(ProjectExplorer::Node *context, const Utils::FilePaths &/*filePaths*/, Utils::FilePaths */*notAdded*/) { // update entire workspace project dynamic_cast(context->getProject())->refresh(); return true; } -ProjectExplorer::RemovedFilesFromProject ROSBuildSystem::removeFiles(ProjectExplorer::Node *context, const Utils::FilePaths &filePaths, Utils::FilePaths *notRemoved) +ProjectExplorer::RemovedFilesFromProject ROSBuildSystem::removeFiles(ProjectExplorer::Node */*context*/, const Utils::FilePaths &/*filePaths*/, Utils::FilePaths */*notRemoved*/) { return ProjectExplorer::RemovedFilesFromProject::Ok; } -bool ROSBuildSystem::deleteFiles(ProjectExplorer::Node *context, const Utils::FilePaths &filePaths) +bool ROSBuildSystem::deleteFiles(ProjectExplorer::Node */*context*/, const Utils::FilePaths &/*filePaths*/) { return true; } -bool ROSBuildSystem::canRenameFile(ProjectExplorer::Node *context, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) +bool ROSBuildSystem::canRenameFile(ProjectExplorer::Node */*context*/, const Utils::FilePath &/*oldFilePath*/, const Utils::FilePath &/*newFilePath*/) { return true; } -bool ROSBuildSystem::renameFile(ProjectExplorer::Node *context, const Utils::FilePath &oldFilePath, const Utils::FilePath &newFilePath) +bool ROSBuildSystem::renameFile(ProjectExplorer::Node */*context*/, const Utils::FilePath &/*oldFilePath*/, const Utils::FilePath &/*newFilePath*/) { return true; } -bool ROSBuildSystem::addDependencies(ProjectExplorer::Node *context, const QStringList &dependencies) +bool ROSBuildSystem::addDependencies(ProjectExplorer::Node */*context*/, const QStringList &/*dependencies*/) { return true; } -bool ROSBuildSystem::supportsAction(ProjectExplorer::Node *context, ProjectExplorer::ProjectAction action, const ProjectExplorer::Node *node) const +bool ROSBuildSystem::supportsAction(ProjectExplorer::Node */*context*/, ProjectExplorer::ProjectAction action, const ProjectExplorer::Node */*node*/) const { static const std::set possible_actions = { ProjectAction::AddNewFile,