From a99f6208349c6ef93cd2fe558d3a6e9aa1194251 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 27 Aug 2010 09:56:00 -0400 Subject: [PATCH] Fix unused parameter warning in VS 7.1 generator The cmGlobalVisualStudio71Generator::WriteProjectDepends method no longer uses its 'dspname' parameter. Leave off the name to avoid the unused parameter warning. Later we should refactor the method to avoid passing the argument altogether. --- Source/cmGlobalVisualStudio71Generator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 4f5901cda..1a5c94093 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -197,7 +197,7 @@ cmGlobalVisualStudio71Generator::WriteProject(std::ostream& fout, void cmGlobalVisualStudio71Generator ::WriteProjectDepends(std::ostream& fout, - const char* dspname, + const char*, const char*, cmTarget& target) { VSDependSet const& depends = this->VSTargetDepends[&target];