From 7b87337f402da091648a97414d0201c096411902 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 9 Sep 2013 14:03:09 +0200 Subject: Remove redundant method parameter. Presumably the author thought the function was static. Change-Id: I5637493c6694edb15349d6189b098990471585be Reviewed-by: Joerg Bornemann --- src/lib/buildgraph/buildgraphloader.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/buildgraph/buildgraphloader.cpp') diff --git a/src/lib/buildgraph/buildgraphloader.cpp b/src/lib/buildgraph/buildgraphloader.cpp index 8be8adee2..4082b77f1 100644 --- a/src/lib/buildgraph/buildgraphloader.cpp +++ b/src/lib/buildgraph/buildgraphloader.cpp @@ -410,10 +410,8 @@ void BuildGraphLoader::onProductRemoved(const ResolvedProductPtr &product, product->project->products.removeOne(product); if (product->buildData) { - foreach (Artifact *artifact, product->buildData->artifacts) { - projectBuildData->removeArtifact(artifact, projectBuildData, m_logger, - removeArtifactsFromDisk, false); - } + foreach (Artifact *artifact, product->buildData->artifacts) + projectBuildData->removeArtifact(artifact, m_logger, removeArtifactsFromDisk, false); } } -- cgit v1.2.1