summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-27 13:56:00 (GMT)
committerBrad King <brad.king@kitware.com>2010-08-27 13:56:00 (GMT)
commita99f6208349c6ef93cd2fe558d3a6e9aa1194251 (patch)
tree887ec3972dcae10c4d17986fc771bb4fdb4ec3f5
parent79a88c35f886258a43ee6169d2d7b4f2e1eb0b95 (diff)
downloadCMake-a99f6208349c6ef93cd2fe558d3a6e9aa1194251.zip
CMake-a99f6208349c6ef93cd2fe558d3a6e9aa1194251.tar.gz
CMake-a99f6208349c6ef93cd2fe558d3a6e9aa1194251.tar.bz2
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.
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index 4f5901c..1a5c940 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];